This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-02
Channels
- # boot (227)
- # carry (1)
- # cljs-dev (3)
- # cljsjs (2)
- # cljsrn (19)
- # clojars (2)
- # clojure (93)
- # clojure-belgium (1)
- # clojure-dev (2)
- # clojure-italy (1)
- # clojure-spec (22)
- # clojure-uk (5)
- # core-async (15)
- # cursive (33)
- # emacs (8)
- # ethereum (1)
- # hoplon (3)
- # jobs (2)
- # leiningen (1)
- # off-topic (24)
- # om (32)
- # perun (1)
- # protorepl (1)
- # re-frame (13)
- # reagent (53)
- # rethinkdb (4)
- # ring-swagger (1)
- # vim (12)
- # yada (14)
I can't get any success with re-natal and figwheel, I managed to build the app but none of my changes are updated automatically
The other day when I tried, it seemed to work, but I don't seem to be able to resume where I left off
reloading can be a tricky art sometimes
you may have more luck with boot react native
even so you can run into situations where something doesn't reload
in these cases you need to try to narrow it down
is the on-js-reload fn called?
is it a react problem, i.e. the view isn't re-rendered?
sometimes it's a javascript problem: you store the reference to a cljs fn in, say, a map and refer to that
then (as with clj) a solution is to use #'my-fn
instead of my-fn
Forgot about that hook, I'll play around with it, thanks.
jsload-callback I think you meant?
What's a good way to test if something is running? Usually I'd add a console.log
or something.
Aha! Found the problem by comparing the app skeleton again, I'd replaced the defonce on RootNode and app-root with def
Ah yes, that's another gotcha
Somebody should cljs reloading first aid guide!
*write a
I wanted to replace the defonce on my app state so i could make changes to that and got carried away