Re:The new wave of React state management
by erikpukinskis on Sunday July 03, 2022 @11:32AM
(#31968459)
It’s purpose in my mind is to model server state, which is fundamentally global state.
Are you using it for transient state? What are you using it for that’s meant to change between different parts of the app?
It kind of sounds like your namespace needs to be broader, are you using a singleton where a collection is needed?
I like its query and request primitives, but I don't like that they are coupled to the cache.