My take on global state in React: 1
My take on global state in React:
1. Use react-query for remote state (HTTP calls).
2. Use context for low frequency updates.
If I have other global state that changes often, I consider:
3. Jotai (Recoil simplified)
4. Zustand (Redux simplified)
5. Valtio (Mobx simplified)
That said, I find most state is remote state. So, I rarely need more than plain React state (for component local state), and react-query.