zustand
5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed
Your version
4.5.7 is the newest release of 4.x.
In short
1 breaking1 fixed1 internal
- breaking
:warning: We thought this was fixing a bug, but it actually introduced a behavioral breaking change.
Release note
This improves the persist middleware behavior for an edge case.
:warning: We thought this was fixing a bug, but it actually introduced a behavioral breaking change. Please use v4.5.4 if the change is troublesome. See
What's Changed
storage: Avoid calling setItem with the state just retrieved