DEV Community

Discussion on: What are your opinions on local state vs global state in React?

Collapse
 
kylessg profile image
Kyle Johnson • Edited

I completely agree with this, I find the idea of putting visual state in a store mental no matter how big the app is.

In my case I use a setup where flux stuff is shared between react and react native so all data is decoupled from platforms which just feels correct to me as it could “live” anywhere, even on the server.