Packages

zustand

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

Your version

4.3.0

10 Jan 2023Where it was published

4.5.7 is the newest release of 4.x.

In short

2 deprecated1 fixed

  • deprecated

    Deprecate some APIs toward v5

  • deprecated

    Deprecate default export

Release note

Throughout past years of development, we've learned the (mis)usage of the library. One of our goal is to provide smallest possible APIs. To go further, this version deprecates some features. They are still usable (with warnings), but will be removed in the future.

What's Changed

  • deprecated

    Deprecate some APIs toward v5

  • deprecated

    Deprecate default export

  • middleware/persist: Hydrate in sync (new impl with storage option)