React JS State Management - spinningideas/resources GitHub Wiki
General Discussion
jotai
TypeScript friendly package that uses "atoms" to manage data
zustand
"A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy api based on hooks, isn't boilerplatey or opinionated."
Immer
Immer is a tiny package that allows you to work with immutable state in a more convenient way.
If your state has nested objects and you need to ensure components re-render if lower levels of object graph are updated this package and be useful
React Query
- https://github.com/tannerlinsley/react-query
- https://react-query.tanstack.com/
- https://medium.com/habilelabs/react-query-a-state-management-library-for-react-applications-8df136077dcd
Recoil
Redux
Context
- https://reactjs.org/docs/context.html
- https://www.toptal.com/react/react-context-api
- https://blog.logrocket.com/a-deep-dive-into-react-context-api/