Zustand · Module
destroy
Zustand creates small stores that React components can read through hooks and selectors. It also supports standalone stores and optional middleware.
Last updated
Syntax
create((set) => ({ ...state, ...actions }))In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createStorecreateWithEqualityFnuseStoreuseStoreWithEqualityFnuseShallowshallowpersistdevtools