This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-02
Channels
- # admin-announcements (1)
- # alda (1)
- # aws (4)
- # boot (276)
- # cljs-dev (3)
- # cljsjs (1)
- # cljsrn (3)
- # clojars (22)
- # clojure (174)
- # clojure-austin (1)
- # clojure-italy (2)
- # clojure-russia (20)
- # clojurecup (1)
- # clojurescript (233)
- # cursive (4)
- # datavis (97)
- # datomic (122)
- # hoplon (80)
- # ldnclj (8)
- # leiningen (6)
- # om (82)
- # reagent (10)
- # spacemacs (8)
- # specter (5)
I think I got it. My pseudocode wasn’t properly reflecting the situation. In second-component
, I was dereferencing the ratom in the let
, so it was getting dereferenced on initialization but not on render.
And now that I understand that, it turns out that both components work just fine as form-1s
Yup. form-1s for everyone!
@adamtrilling: if you haven't yet it's always good to read re-frame's reagent articles on their wiki - https://github.com/Day8/re-frame/wiki#reagent-tutorials
Oh that’s helpful! Thanks.
Holy crap I haven't had this much fun writing code in a long time
@adamtrilling: I was just thinking the same thing this evening
I’ve been playing around with reagent and petrol in an electron app. It’s so fun, and so easy to write
Do give it a go. I’ve found it to be the right combination of simple and powerful