Fork me on GitHub
#reagent
<
2018-09-18
>
Charlot05:09:18

Hmm. Is there any gotchas about having atoms inside atoms?

Charlot05:09:34

Writing a sort of group page, and the individual users would have their own atoms, I would think.

Charlot05:09:57

Or is this where I am supposed to start thinking about database, and where it lives?

pesterhazy14:09:50

atoms inside of atoms work but they're usually not the right way to think of it

pesterhazy14:09:14

you usually want nested maps inside a single atom, rather than nested atoms

gadfly36114:09:59

+1 to @pesterhazy's suggestion

Charlot21:09:55

The issue is then access to nested internal values. I noticed Rum has the Cursor, is there an equivalent in reagent? @pesterhazy

pesterhazy21:09:46

Reagent has the Cursor too!

Charlot22:09:45

I missed that