This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-18
Channels
- # 100-days-of-code (10)
- # announcements (2)
- # aws (3)
- # beginners (120)
- # boot (6)
- # calva (6)
- # cider (22)
- # cljsrn (3)
- # clojure (145)
- # clojure-greece (1)
- # clojure-italy (7)
- # clojure-nl (24)
- # clojure-russia (90)
- # clojure-spec (21)
- # clojure-uk (80)
- # clojurescript (175)
- # core-async (1)
- # datomic (17)
- # emacs (8)
- # ethereum (5)
- # figwheel (1)
- # figwheel-main (140)
- # fulcro (137)
- # jobs (6)
- # jobs-discuss (3)
- # luminus (3)
- # mount (1)
- # nyc (3)
- # off-topic (39)
- # onyx (1)
- # pedestal (1)
- # re-frame (21)
- # reagent (13)
- # shadow-cljs (60)
- # spacemacs (25)
- # test-check (4)
- # tools-deps (14)
- # uncomplicate (3)
- # vim (18)
Hmm. Is there any gotchas about having atoms inside atoms?
Writing a sort of group page, and the individual users would have their own atoms, I would think.
Or is this where I am supposed to start thinking about database, and where it lives?
atoms inside of atoms work but they're usually not the right way to think of it
you usually want nested maps inside a single atom, rather than nested atoms
+1 to @pesterhazy's suggestion
The issue is then access to nested internal values. I noticed Rum has the Cursor, is there an equivalent in reagent? @pesterhazy
Reagent has the Cursor too!
@shawx538 https://github.com/reagent-project/reagent/blob/master/doc/ManagingState.md#cursors
nice!
also: https://github.com/reagent-project/reagent-cookbook/tree/master/basics/cursors
I missed that
thank you