zustand
5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed
Your version
3.7.2 is the newest release of 3.x.
In short
3 fixed2 changed
Release note
(v3.5.3 includes #419, which causes a build issue in CJS. Please use v3.5.4)
This includes some type improvements in zustand/middleware and improvements/changes in zustand/context.
Export NamedSet type for combining with immer
middleware/persist: Argument of onRehydrateStorage for missing migrate function
Make type NamedSet compatible with type SetState
context: Stable storeApi
Fix/context create store