
About Zustand
Zustand is an open source state management library for React and other JavaScript apps. It offers a small store API built around hooks, and it does not need a provider around your app.
What it does
You create a store with one function and read values from it with a hook that accepts a selector. Components re-render only when the part of the state they select changes. The same store also works outside React, so you can share state between React, React Native and plain JavaScript code. Optional add-ons cover devtools, persistence and middleware.
Key features
- Store created with a single function
- Selectors that limit extra re-renders
- Works in React, React Native and plain JavaScript
- Optional devtools, persistence and middleware
- Strong TypeScript types
Who it's for
React developers who want shared state without the setup cost of heavier libraries. It suits small and medium apps and teams that prefer a minimal API.
Pricing and good to know
Zustand is free and open source under the MIT license. Because it is minimal, you decide how to structure stores and actions, so agree on conventions as the app grows. The documentation has quick start instructions for npm, yarn, pnpm, bun and deno.
Highlights
- Store created with a single function
- Selectors that limit extra re-renders
- Works in React, React Native and plain JavaScript
- Optional devtools, persistence and middleware
- Strong TypeScript types for state and actions












