Fork me on GitHub
#reagent
<
2020-02-15
>
NoahTheDuke23:02:44

to double check my understanding, a global in a reagent app is per client, right? which is why it's "okay" to use a global r/atom to hold app state. whereas in clojure, a global atom would be per instance (the whole server in most cases), right?

p-himik23:02:34

It's "per instance" in both cases. It's just that in case of Reagent in a browser, the instance is usually a single browser tab.

NoahTheDuke23:02:24

Thanks!

👍 4