i ideas / repo launcher
pmndrs avatar

pmndrs/zustand

β˜… 58,920TypeScriptMIT93

🐻 Bear necessities for state management in React

What it is

A small, fast and scalable bearbones state-management solution using simplified flux principles. Has a comfy API based on hooks, isn't boilerplatey or opinionated. Don't disregard it because it's cute. It has quite the claws, lots of time was spent dealing with common pitfalls, like the dreaded zombie child problem, react concurrency, and context loss between mixed renderers. It may be the one state-manager in the React space that gets all of these right.

When to use it

Reach for zustand when you are choosing the foundation of a web app β€” framework, router, bundler or data layer β€” it's written in TypeScript and fits stacks tagged hooks, react, react-context, redux.

Category
Frontend Frameworks
Also in
β€”
Stars
58,920
Forks
2,188
Last push
5 days ago
Created
2019-04-09
Open issues
2
Website
zustand-demo.pmnd.rs

Quick start

$ git clone https://github.com/pmndrs/zustand.git

Hand it to your AI

Read https://ideas.asveas.com/r/pmndrs/zustand.md and help me add pmndrs/zustand to my project. Explain the setup steps for my stack and show the minimal code to get it working.

Alternatives to zustand

All Frontend Frameworks β†’

Pairs well with

FAQ

What is zustand?

pmndrs/zustand is a frontend framework on GitHub: 🐻 Bear necessities for state management in React A small, fast and scalable bearbones state-management solution using simplified flux principles.

When should I use zustand?

Reach for zustand when you are choosing the foundation of a web app β€” framework, router, bundler or data layer β€” it's written in TypeScript and fits stacks tagged hooks, react, react-context, redux.

What are the best alternatives to zustand?

Popular alternatives in Frontend Frameworks: react/react (252kβ˜…), vercel/next.js (143kβ˜…), sveltejs/svelte (88.7kβ˜…), vitejs/vite (83.9kβ˜…), withastro/astro (63.9kβ˜…).

Is zustand actively maintained?

pmndrs/zustand looks very actively maintained: the last push was 5 days ago (2026-11-06), with 58,920 stars and 2 open issues.

What license does zustand use?

pmndrs/zustand is published under the MIT license. Check the repository's LICENSE file before commercial use.