Closed ChrisHacker closed 4 years ago
I'm sorry to only now be addressing this very old issue. I don't know what the issue was.
To see re-frame-10x all wired up correctly, I'd suggest using re-frame-10x which will create a correct scaffold. Perhaps something like:
$ lein new re-frame <app-name> +10x
Closing.
I am trying to use re-frame-debux with re-frame-10x. I spent a couple of hours getting it set up and playing with it but can't get re-frame-debux to work.
I've checked the prereq's and versions - all good: clj 1.8 and cljs 1.9.946 I've got the dependencies set up with the two libs.
tracing
in :project/dev :dependencies andtracing-stubs
in production :dependencies.Here's what I added in :project/dev :cljsbuild :compiler
If I try to add
[day8.re-frame.tracing :refer-macros [fn-traced defn-traced]]
to my handlers.cljs file as:require
and then use either of the macros, figwheel fails to compile withCould not Analyze ... Analysis Error
targeted at the first use of either macro.If I instead add
[day8.re-frame.tracing :refer [fn-traced defn-traced]]
to in:require-macros
, figwheel will compile the code, but I get a bunch of warnings and the app throws errors when I try to load it in the browser. Line 39 is where the macro is invoked in the handlers.cljs file.Any idea what I'm doing wrong?