Skip to content
masterclass Buddy

Zustand · Type Alias

Mutate

create makes a React hook for a Zustand store. The hook can read selected state and exposes store API utilities.

Last updated

Syntax

create<T>()(stateCreatorFn: StateCreator<T, [], []>): UseBoundStore<StoreApi<T>>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createStore
  • createWithEqualityFn
  • useStore
  • useShallow
  • persist
  • devtools

Source: create - Zustand Docs. Checked 2026-11-03.