Zustand

A small state management library for React that keeps state in an external store and lets components subscribe to just the parts they use.

In more detail

Zustand reads its store through useSyncExternalStore, so it works correctly with concurrent rendering. Components select the slice of state they need and re-render only when that slice changes.

Related terms

Taught in

References