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

Recoil

Redux

Context

Context vs Redux