This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-30
Channels
- # bangalore-clj (1)
- # beginners (9)
- # boot (51)
- # cider (20)
- # cljs-dev (419)
- # clojars (1)
- # clojure (338)
- # clojure-brasil (64)
- # clojure-dev (7)
- # clojure-greece (2)
- # clojure-italy (3)
- # clojure-russia (10)
- # clojure-spec (127)
- # clojure-uk (12)
- # clojurebridge (2)
- # clojurescript (132)
- # core-async (8)
- # cursive (37)
- # datomic (34)
- # dirac (5)
- # events (1)
- # funcool (3)
- # hoplon (39)
- # jobs (3)
- # leiningen (3)
- # off-topic (16)
- # om (44)
- # onyx (7)
- # pedestal (20)
- # protorepl (1)
- # random (1)
- # re-frame (64)
- # reagent (6)
- # specter (4)
- # test-check (9)
- # untangled (17)
- # vim (4)
@novakboskov Reagent components don't tend to handle state internally, the same way as React components do. The state tends to come from the outside via cursors or props.
Having said that, Form-2 components tend to be the way that you manage state "internally". You close over an atom which holds the "internal state".
There is also the re-frame architecture which is similar to Redux, if you want a more disciplined/constrained approach to state management.
@mikethompson Thank you very much for re-frame, and for showing to us the hidden gem that reagent is.
@geraldodev my pleasure. It has been an interesting and fun ride
@mikethompson So many good words on re-frame, I should definitely look it up.