This README documents what I learned when I first started using Zustand โ a small, fast, and scalable state management solution for React.
Zustand is a minimalistic state management library for React built by the creators of Jotai and React Three Fiber. It's much simpler than Redux and doesn't require boilerplate code, reducers, or context providers.
- ๐ง Simple mental model
- โก Fast performance with no unnecessary re-renders
- โจ Middleware support like
persistanddevtools - ๐งฑ Doesn't rely on React Context under the hood
npm install zustand