# Zustand

Small state-management library whose store is a hook, used in React and usable without React.


Source: https://findsoftware.frbit.cloud/zustand/
Last reviewed: 2026-11-17
Listed since: 2026-11-17

## Record

### Links

- home: https://zustand.docs.pmnd.rs/
- repository: https://github.com/pmndrs/zustand
- docs: https://zustand.docs.pmnd.rs/
- plugins: https://zustand.docs.pmnd.rs/reference/integrations/third-party-libraries
- discord: https://discord.gg/poimandres

### Identity

- status: active
- maintainer: Paul Henschel
- maintainerType: unknown
- parent: unknown
- firstRelease: 2019
- hqCountry: unknown

### Kind

- category: library
- hosting: unknown
- language: javascript
- runtime: unknown
- runtimeMin: unknown
- basedOn: react

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, yarn, pnpm, bun, deno

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 5
- latestReleaseDate: 2026-11-06

### Adoption

- githubStargazers: 58935
- packagistDownloads: not applicable
- npmWeeklyDownloads: 92074815
- contributors: 336
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 62080
- dependentPackages: 1976

### Sources

- urls: https://zustand.docs.pmnd.rs/ (read 2026-11-17)
- urls: https://api.github.com/repos/pmndrs/zustand (read 2026-11-17)
- urls: https://github.com/pmndrs/zustand/blob/main/README.md (read 2026-11-17)
- maintainer: https://github.com/pmndrs/zustand/blob/main/LICENSE (read 2026-11-17)
- firstRelease: https://registry.npmjs.org/zustand (read 2026-11-17)
- language: https://api.github.com/repos/pmndrs/zustand (read 2026-11-17)
- category: https://github.com/pmndrs/zustand/blob/main/README.md (read 2026-11-17)
- basedOn: https://zustand.docs.pmnd.rs/ (read 2026-11-17)
- installMethod: https://zustand.docs.pmnd.rs/ (read 2026-11-17)
- license: https://api.github.com/repos/pmndrs/zustand (read 2026-11-17)
- licenseModel: https://github.com/pmndrs/zustand/blob/main/LICENSE (read 2026-11-17)
- currentMajor: https://github.com/pmndrs/zustand/releases/tag/v5.1.0 (read 2026-11-17)
- latestReleaseDate: https://github.com/pmndrs/zustand/releases/tag/v5.1.0 (read 2026-11-17)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/zustand (read 2026-11-17)
- githubStargazers: https://api.github.com/repos/pmndrs/zustand (read 2026-11-17)
- contributors: https://api.github.com/repos/pmndrs/zustand/contributors?per_page=1 (read 2026-11-17)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/zustand (read 2026-11-17)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/zustand (read 2026-11-17)
- urls: https://github.com/pmndrs/zustand/blob/main/README.md (read 2026-11-17)

## Notes

Zustand is a state-management library in which the store is a hook. Components select the part of the state they read and re-render only when that part changes, and no provider has to wrap the app. A store is created with a single `create` call, and code outside components can read and write it through `getState` and `setState`. Middleware adds persistence, Immer-based updates, Redux devtools logging and a Redux-style reducer pattern. The core imports and runs without React, and the documentation describes sharing a store with React Native and other non-React code.

## Worth knowing

Middleware that changes `set` or `get` does not apply to `getState` and `setState`. The README advises against that outside-component technique in React Server Components. Setting state merges by default; the replace flag swaps in a new state model instead, which can wipe parts such as actions. A component that reads the whole store with no selector re-renders on every change.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
