This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-14
Channels
- # admin-announcements (1)
- # beginners (7)
- # boot (30)
- # clara (1)
- # cljs-dev (3)
- # clojure (57)
- # clojure-austin (2)
- # clojure-conj (3)
- # clojure-dev (11)
- # clojure-russia (84)
- # clojurescript (105)
- # data-science (1)
- # devcards (1)
- # editors (4)
- # editors-rus (2)
- # hoplon (119)
- # immutant (1)
- # lein-figwheel (5)
- # off-topic (4)
- # om (6)
- # re-frame (75)
- # reagent (5)
@richiardiandrea: as I understand it, you’d have to invent your own method. It’s explained a bit here: https://github.com/reagent-project/reagent/issues/5#issuecomment-32457550,
So the child has to be a component itself, and it can then call its parent with itself, when it’s mounted.
It’s a bit of a hassle, but then again, it allows for some optimizations as the author explains, and it’s usually not necessary to have a whole lot of refs.