mirror of
https://github.com/status-im/re-frame-10x.git
synced 2025-01-11 14:44:35 +00:00
Add warning for people that upgrade to newer versions
If someone used something like lein-ancient to upgrade their libraries, they might not realise that re-frame-trace has been renamed to re-frame-10x. This commit will log a warning every time it is loaded, to tell people that they should use the new 10x version.
This commit is contained in:
parent
ba88153e09
commit
92227465e8
@ -5,6 +5,7 @@
|
||||
|
||||
;; Use this namespace with the :preloads compiler option to perform the necessary setup for enabling tracing:
|
||||
;; {:compiler {:preloads [day8.re-frame.trace.preload] ...}}
|
||||
(js/console.warn "re-frame-trace has been renamed to re-frame-10x: (https://clojars.org/day8.re-frame/re-frame-10x). Update to newer versions of this library by using the `day8.re-frame/re-frame-10x` artifact ID. Thanks!")
|
||||
(rf/clear-subscription-cache!)
|
||||
(trace/init-db!)
|
||||
(defonce _ (trace/init-tracing!))
|
||||
|
Loading…
x
Reference in New Issue
Block a user