Zustand · Type Alias
WithReact
Zustand is a small state-management library with a hook-based API. It lets React components read and update shared state with little boilerplate.
Last updated
Syntax
create<State>((set, get, store) => initialState)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createuseStoreUpdating stateComparison with other tools