Fork me on GitHub
#reagent
<
2017-03-11
>
gordon21:03:24

Hey everyone, I have a question about idiomatic Reagent - I've seen plenty of references to component-local state by closing over code with a ratom, but I see that reagent.core/state-atom exists. To me (a relatively new user of Reagent), state-atom seems like the most obvious approach to component-local state given the Reagent API docs, but I was wondering if anyone had some reasons why state-atom is avoided. Thanks!