Zustand
A strong pick. 2nd of 10 state and data fetching.
Zustand is a small, hook-based store for client state in React. It has no dependencies and needs no providers. Today it is the most common pick for new React apps that need shared client state. It does not fetch or cache server data, so most apps pair it with TanStack Query or SWR.
Best for: React teams that want simple, typed global client state with little boilerplate, alongside a server-cache library such as TanStack Query.
Scores
Overall8.5
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
Zustand is the strongest pick for client-state management in React today. It is simple, stable, well maintained and growing faster than the market. It stays below 9 because it covers only half of this category's job and needs a server-cache peer such as TanStack Query. Very large teams may also prefer Redux Toolkit's structure.
- npm downloads ratio: 6.9x growth against the 4.1x median.
- 2025.stateofreact.com/en-US/libraries/state-management: Leads in satisfaction.
- github.com/pmndrs/zustand/releases: Steady, non-breaking releases through 2026.
GPT-6.2 Sol: 8.4, likely 7.3 to 9.3
Zustand is a leading choice for shared React client state because its typed stores are easy to set up, efficient with selectors, and actively maintained. TanStack Query is a better fit when server data freshness is the main job, and Redux Toolkit with RTK Query covers both jobs in one package. Strong adoption and user satisfaction support the recommendation, while concentrated release activity and the extra setup for server rendering weigh against a category-wide default.
- 2025.stateofreact.com/en-US/libraries/state-management: High satisfaction and rising reported use.
- github.com/pmndrs/zustand/releases: Regular maintenance and a current stable release.
- zustand.docs.pmnd.rs/learn/guides/nextjs: Server rendering requires deliberate store setup.
- tanstack.com/query/latest/docs/framework/react/guides/important-defaults: Built-in cache freshness and background refetching.
- redux.js.org/toolkit/rtk-query/overview: Redux Toolkit includes fetching and cache invalidation.
Needed by many6.2
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Most React apps of moderate size need some shared client state, and React is the largest frontend group. Zustand serves only the client-state half of the category's job and is mostly tied to React. About a third of State of React respondents use no state library at all.
- certificates.dev/blog/breaking-down-state-of-react-2025-results: About a third of React developers use no state library.
- github description: Described as state management for React.
- betterstack.com/community/guides/scaling-nodejs/zustand-vs-redux-toolkit-vs-jotai: Server state requires custom implementation.
GPT-6.2 Sol: 6.4, likely 5.2 to 7.5
Shared client state is a common need in React web and native apps. Zustand also offers a framework-independent store, while its main UI integration is for React. About a third of State of React respondents reported using zero of the listed state management libraries, and the survey covers a subset of JavaScript developers.
- 2025.stateofreact.com/en-US/libraries/state-management: 1,271 respondents reported using zero listed tools.
- 2025.stateofreact.com/en-US/about: The survey describes its audience and sampling limits.
- zustand.docs.pmnd.rs/reference/apis/create-store: Standalone stores expose get, set, and subscribe.
Helps a lot8.5
How well does it do the job for those who need it?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
For client state in React it is hard to beat: there is little boilerplate, selectors limit re-renders, TypeScript types are solid, and the middleware covers persistence and devtools. AI agents write correct Zustand code readily, because the API is small and widely documented. It does not do server caching, and Redux Toolkit offers stronger structure and debugging for very large teams.
- betterstack.com/community/guides/scaling-nodejs/zustand-vs-redux-toolkit-vs-jotai: Minimal boilerplate, no provider, selective re-renders, persist and devtools.
- github.com/pmndrs/zustand/releases: v5.1.0 adds async persist and DevTools action dispatch.
- npm hasTypes / dependencies: Ships its own types and has zero dependencies.
GPT-6.2 Sol: 8.5, likely 7.4 to 9.4
Zustand 5.1.0 has a small typed API, clear examples, and useful persistence and DevTools middleware. In an independent dashboard benchmark, granular subscriptions skipped renders on unrelated updates, matching Redux and Jotai in that test. Users report render loops with unstable selector results, and Next.js server rendering takes extra setup. The short examples make basic stores straightforward for coding agents to scaffold, though agent accuracy and performance beyond the benchmark workload are unmeasured here.
- github.com/pmndrs/zustand/releases/tag/v5.1.0: Adds awaitable rehydration and DevTools action dispatch.
- github.com/pmndrs/zustand/blob/main/docs/learn/guides/beginner-typescript.md: Typed examples cover stores, selectors, and middleware.
- github.com/kvashaihor/state-management-benchmark: Reproducible dashboard comparison and selector results.
- github.com/pmndrs/zustand/discussions/2867: A React Native user reported update-depth errors after upgrading.
- zustand.docs.pmnd.rs/learn/guides/nextjs: Documents per-request stores and hydration requirements.
Holds up over time7.9
Will it still be a good choice in two years?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
Releases come steadily: 9 in the last year, with v5.1.0 on 6 November 2026, and only 2 open issues against 697 closed. v5 has had no breaking changes since late 2024. The main risk is that most of the work falls on one lead maintainer, inside the volunteer pmndrs collective with sponsor funding.
- github releasesLastYear / commitsLastYear: 9 releases and 121 commits in the last year.
- github openIssues / closedIssues: 2 open against 697 closed.
- github.com/pmndrs/zustand/releases: No breaking changes across the v5.0.x and 5.1 releases.
- pmndrs maintainers: Daishi Kato leads Zustand, Jotai and Valtio.
GPT-6.2 Sol: 7.8, likely 6.5 to 8.8
Zustand recorded 121 commits and nine releases in the past year, with several contributors credited for middleware fixes. Users had to rewrite some selectors during the v5 upgrade. Recent releases were triggered by the same maintainer, who is also the listed GitHub Sponsors recipient. The funding level and typical response time are unclear, and the small issue queue excludes bug reports routed to Discussions.
- github: 121 commits, nine releases, and 343 lifetime contributors.
- github.com/pmndrs/zustand/releases: Recent releases include fixes from multiple contributors.
- github.com/pmndrs/zustand/actions/workflows/publish.yml: One maintainer triggered the eight visible publishing runs.
- github.com/pmndrs/zustand/blob/main/.github/FUNDING.yml: GitHub Sponsors points to the lead maintainer.
- github.com/pmndrs/zustand/blob/main/.github/ISSUE_TEMPLATE/config.yml: Bug reports go to GitHub Discussions.
- github.com/pmndrs/zustand/discussions/2867: Users describe selector rewrites during the v5 upgrade.
Used widely8.1
How many use it, and is that growing?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
Downloads are 366M per 4 weeks, up 6.9x on a year ago against a 4.1x median, so it is gaining ground. It has 62k dependent repositories and 59k stars, the most stars in the category. Some downloads come transitively through libraries like react-three-fiber and React Flow, so direct choices are lower than the raw count, but still in the hundreds of thousands of projects.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 366M against 53M, a 6.9x ratio above the 4.1x median.
- dependents: 62,080 repositories and 1,976 packages; Redux Toolkit has 154k repositories.
- github stars: 58,967, the most in the category.
GPT-6.2 Sol: 7.7, likely 6.6 to 8.8
Four-week installs rose from 53.2 million to 366.1 million, about 6.9 times year over year against the 4.1 times catalog median. That suggests Zustand is gaining ground, with growth close to TanStack Query and ahead of Redux Toolkit. Ecosyste.ms also found 62,080 dependent repositories, ahead of TanStack Query and Jotai and behind Redux Toolkit and XState. Partial repository coverage, automated builds, and installs through downstream libraries make the number of direct choices uncertain.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Largest current install count in the peer bundle.
- medianDownloadsRatio: Catalog baseline is 4.1 times year over year.
- dependents: 62,080 indexed repositories and 1,976 npm packages.
- peers: Redux Toolkit has about 155,000 indexed repos. Jotai has about 4,100.
- github stars and bluesky posts: About 59,000 stars and 35 posts, behind Redux Toolkit and TanStack Query in Bluesky attention.
- xyflow.com/blog/react-flow-13-major-release: React Flow can bring Zustand in as a downstream dependency.
Vouched for8.3
Who stands behind it being good?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
The State of React 2025 survey names Zustand the most popular state library by user satisfaction. Many independent 2026 comparisons call it the default for new mid-size React apps, and major libraries in the React ecosystem build on it. The case for it rests mostly on surveys and blog posts rather than formal benchmarks.
- 2025.stateofreact.com/en-US/libraries/state-management: Most popular in user satisfaction and gaining ground.
- dev.to/jsgurujobs/state-management-in-2026-zustand-vs-jotai-vs-redux-toolkit-vs-signals-2gge: Called the default choice for most React apps in 2026.
- dev.to/likhit/i-migrated-a-react-native-app-from-redux-to-zustand-4cdo: Production React Native migration report.
GPT-6.2 Sol: 8.5, likely 7.3 to 9.4
Zustand led State of React 2025 in user satisfaction. React Flow 13 builds on Zustand 5, and SigNoz lists it as a frontend dependency. An independent benchmark confirms that selectors can avoid unrelated renders in a dashboard. The survey is self-selected, and the benchmark covers one kind of workload.
- 2025.stateofreact.com/en-US/libraries/state-management: Highest state management satisfaction in the survey.
- xyflow.com/blog/react-flow-13-major-release: React Flow upgraded its internal dependency to Zustand 5.
- github.com/SigNoz/signoz/blob/main/frontend/package.json: SigNoz pins Zustand 5 in its frontend dependencies.
- github.com/kvashaihor/state-management-benchmark: Independent benchmark reproduces render isolation.
Safe8.3
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.5
It has zero dependencies, no advisories ever recorded and an MIT licence. Its OpenSSF Scorecard is 6.5, held down by weak Code-Review, no security policy, no SAST and no fuzzing. The small codebase keeps the real attack surface low.
- advisories total: 0 advisories.
- npm dependencies: 0 runtime dependencies.
- scorecard: 6.5 overall; Code-Review 1, Security-Policy 0, SAST 0.
GPT-6.2 Sol: 8.0, likely 6.7 to 9.0
Zustand has an MIT licence, zero required package dependencies, and no advisories in the supplied OSV data. The latest release shipped through a GitHub Actions workflow configured for tokenless npm publishing. OpenSSF scored code review 1 out of 10, and GitHub shows no published security policy. Recent release runs show one trigger account, and the full set of people with release access is unverified.
- npm dependencies and license: Zero required dependencies and a permissive MIT licence.
- advisories: No OSV entries in the supplied snapshot.
- scorecard: 6.5 overall, strong workflow checks, weak code review, and unverified branch protection and release signing.
- github.com/pmndrs/zustand/blob/v5.1.0/.github/workflows/publish.yml: Release-triggered npm publishing uses an identity token.
- github.com/pmndrs/zustand/actions/workflows/publish.yml: Recent publishing runs succeed under the same trigger account.
- github.com/pmndrs/zustand/security/policy: GitHub detects no security policy.
- socket.dev/blog/10-npm-typosquatted-packages-deploy-credential-harvester: The reported 2025 incident involved the zustand.js lookalike.
Good
- The API is tiny: a store is one create() call with no providers, actions or reducers to wire up.
- It has zero runtime dependencies and a bundle of about 1–3 KB.
- Built-in middleware covers persist, devtools, immer and slices, and v5.1 adds async persist and dispatching actions from DevTools.
- It has stayed stable on v5 for two years with only patch-level fixes, and the issue backlog is almost empty.
Bad
- It has no server-state caching, so data fetching needs TanStack Query, SWR or hand-written code.
- It is React-first; the vanilla store works elsewhere, but Vue and Svelte users have better-fitting options.
- Its unopinionated structure lets large teams drift into inconsistent store patterns, which Redux Toolkit avoids by enforcing conventions.
- Selector mistakes, such as returning new objects without useShallow, can cause re-render loops in v5.
The numbers
- npm downloads, 4 weeks
- 366M ×6.9 in a year
- GitHub stars
- 59k
- Commits, 12 months
- 121
- npm version
- 5.1.0 Nov 2026
- Versions, 12 months
- 9
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 6.5 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (pmndrs/zustand), npm (zustand), OSV and the OpenSSF Scorecard.
State and data fetching
- 9.0TanStack Query
- 8.5Zustand
- 8.0Pinia
- 7.6Jotai
- 7.6Redux Toolkit
- 7.5Apollo Client
- 7.3XState
- 7.0SWR
- 6.7MobX
- 6.5Valtio