This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-14
Channels
- # admin-announcements (17)
- # announcements (4)
- # beginners (47)
- # boot (347)
- # braid-chat (55)
- # bristol-clojurians (5)
- # cider (5)
- # cljs-dev (1)
- # clojure (111)
- # clojure-chicago (1)
- # clojure-russia (73)
- # clojure-ukraine (2)
- # clojurescript (162)
- # code-reviews (1)
- # community-development (199)
- # core-matrix (2)
- # cursive (29)
- # datomic (40)
- # devcards (13)
- # dirac (37)
- # docs (12)
- # editors-rus (2)
- # emacs (11)
- # events (26)
- # hoplon (2)
- # jobs (8)
- # ldnclj (31)
- # lein-figwheel (2)
- # off-topic (7)
- # om (59)
- # other-lisps (1)
- # portland-or (1)
- # proton (50)
- # re-frame (5)
- # reagent (13)
- # ring-swagger (5)
- # spacemacs (3)
- # yada (3)
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
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.
@okal: use om-root
or defcard-om
instead of defcard
+ om/build
see https://github.com/bhauman/devcards/blob/master/example_src/devdemos/om.cljs for examples
@anmonteiro Works like a charm. Thank you.
Hi, just wanted to give the quick trial a go, but I am getting this on lein figwheel
:
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)