Should it be possible, within the figwheel REPL, to swap the value of an atom and have an Om component reflect this in the UI?
@meow Doesn’t seem to be, no. Might be doing something wrong though. https://github.com/okal/vega-viewer/blob/master/src/vega_viewer/core.cljs
It’s possible that my component is wrongly structured, though.
If you call swap on it, the value is reflected when you print out the atom. But it doesn’t update in the UI. But again, it’s quite possible that I’m missing something obvious.
defcard-om instead of
Let me give that a shot. Thank you :simple_smile:
Hi, just wanted to give the quick trial a go, but I am getting this on
Retrieving figwheel-sidecar/figwheel-sidecar/0.5.0-3/figwheel-sidecar-0.5.0-3.jar from clojars clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate cljs/analyzer__init.class or cljs/analyzer.clj on classpath: , compiling:(figwheel_sidecar/utils.clj:1:1)
shouldn't that analyzer namespace come bundled with clojurescript?