Simplest implementation of redux like state machine
Has useSelector, async functions, and more out of box
Won't rerender actions/functions
1.16KB, tiny
all useContext children rerender on state change
useContext
two file code and need to wrap app with provide
A lot of boilerplate even with toolkit, CreateSlice, export actions, combine Reducers.
Simplest global atom, like a better useContext with optimized rendering
setAtom is what you get for defining actions
Xstate, Proper state machine architecture for really complex state management
MobX
Recoil
Last updated 1 year ago