Packages

zustand

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

Your version

4.1.0

18 Aug 2022Where it was published

4.5.7 is the newest release of 4.x.

In short

1 new2 fixed1 internal

Release note

This supports non-object state. It's probably one of the biggest changes in API design throughout the zustand development history. But, probably 99.9% of users won't use it 😝 .

What's Changed

  • fix(types)(middleware/devtools): fix action type in devtools's setState

  • vanilla: non-object state

  • fix(types)(middleware): use official Config type for options