Skip to content

KitStore

KitStore<TState, TActions> = UseBoundStore<StoreApi<TState & TActions>> & object

Defined in: types.ts:116

The combined state and actions exposed by a kit store.

destroy: () => void

Unsubscribe and remove the store from the global registry.

void

reset: () => void

Reset the store to its initial state and clear any persisted value.

void

TState extends object

TActions extends object