Packages

zustand

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

Your version

3.1.0

3 Sep 2020Where it was published

3.7.2 is the newest release of 3.x.

In short

1 changed

Release note

This release is mainly for TypeScript users.

The base State type is stricter.

In v3.0.3:

In v3.1.0:

To fix it:

See also:

New combine middleware

This will combine two parts of state into one. The first part is primitive state, and the second part is actions that depend on set.

The resulting type is inferred from the state creator.