This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-01
Channels
- # admin-announcements (11)
- # announcements (1)
- # beginners (1)
- # boot (36)
- # cider (8)
- # cljs-dev (13)
- # clojure (65)
- # clojure-berlin (18)
- # clojure-russia (54)
- # clojurescript (137)
- # code-reviews (3)
- # datomic (30)
- # emacs (9)
- # events (13)
- # hoplon (36)
- # jobs (1)
- # ldnclj (4)
- # melbourne (15)
- # off-topic (2)
- # om (4)
- # re-frame (5)
- # reagent (25)
- # sydney (3)
- # testing (1)
Where possible, can everyone please try out the new Release Candidate:
Lein dependency:
[reagent "0.5.1-rc"]
And now: [reagent "0.5.1-rc2"]
Please test on your projects and report back here
I fixed one warning, but still get the warning of "Compile Warning Required namespace not provided for test_frame.core". What's the meaning of that means? Please check https://github.com/wqhhust/test_frame
https://github.com/wqhhust/test_frame/blob/723cad2f71191c5b5d229ed113ea103a6c7c7fc6/project.clj#L19
Should that be "test-frame.core/mount-root"
?
I'm a bit worried about this line too: https://github.com/wqhhust/test_frame/blob/723cad2f71191c5b5d229ed113ea103a6c7c7fc6/project.clj#L32
@mikethompson: Moved a project using re-com and re-frame over to rc2, no obvious problems. Will let you know if I run into any.
how do I detect that a component has been mounted? I tried adding with-metadata {:component-did-mount (fn [x] (println x)}
Hmm maybe the println isn't tied to print out to the browser console? Above that, (enable-console-print!) or change the (println x) to (.log js/console x).
Also, instead of using with-meta, i'd recommend form-3: https://github.com/Day8/re-frame/wiki/Creating-Reagent-Components#form-3-a-class-with-life-cycle-methods
@gadfly361: thanks! create-class worked.