This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-03
Channels
- # beginners (446)
- # boot (16)
- # cljs-dev (2)
- # cljsrn (30)
- # clojars (2)
- # clojure (143)
- # clojure-finland (1)
- # clojure-greece (1)
- # clojure-nl (1)
- # clojure-russia (2)
- # clojure-spec (20)
- # clojure-uk (7)
- # clojurescript (167)
- # code-reviews (1)
- # community-development (12)
- # core-async (27)
- # cursive (3)
- # data-science (9)
- # datascript (2)
- # emacs (1)
- # graphql (46)
- # immutant (5)
- # jobs (2)
- # leiningen (1)
- # luminus (1)
- # lumo (76)
- # off-topic (79)
- # perun (2)
- # protorepl (33)
- # re-frame (21)
- # reagent (62)
- # ring-swagger (1)
- # rum (18)
- # spacemacs (6)
- # specter (4)
- # test-check (4)
- # unrepl (9)
- # untangled (2)
- # vim (4)
- # yada (1)
I strugled with figwheel not hot reloading using the untangled template project.clj -- figwheel would not required the changed files for some reason. The only way I managed to get it work was to change cljsbuild to :compiler {:main my.ns.main
instead of user.cljs
(i.e. I tried a few combinations of dependencies versions before that)
hm.. I think only got reload to work because it was calling 'om/add-root!' on every reload. Trying to understand why the strategy to update react-key was not enough 😕 even with om/force-root-render!
or remove-root! and add-root! from repl does not make Om to render again.. perhaps a figwheel issue.
Hot reloading seems to work only if I use def ...
to create the Om.Next app on the main cljs build file, if I use defonce
then it does not reflect any new component render code.