Packages

zustand

5.0.16 · 22 Oct 2026MIT87.8M / weekRepositorynpmAtom feed

Your version

4.3.7

31 Mar 2023Where it was published

4.5.7 is the newest release of 4.x.

In short

1 new2 fixed

Release note

This includes a couple of improvements in persist middleware.

What's Changed

  • middleware/persist: Add skip hydration option #405

  • middleware/persist: Ensure persist does not drop updates in onRehydrateStorage when using a synchronous storage API

  • middleware/persist: Ensure argument for onRehydrateStorage and onHydrate is defined on first hydration