KitStore
Type Alias: KitStore<TState, TActions>
Section titled “Type Alias: KitStore<TState, TActions>”KitStore<
TState,TActions> =UseBoundStore<StoreApi<TState&TActions>> &object
Defined in: types.ts:116
The combined state and actions exposed by a kit store.
Type Declaration
Section titled “Type Declaration”destroy
Section titled “destroy”destroy: () =>
void
Unsubscribe and remove the store from the global registry.
Returns
Section titled “Returns”void
reset: () =>
void
Reset the store to its initial state and clear any persisted value.
Returns
Section titled “Returns”void
Type Parameters
Section titled “Type Parameters”TState
Section titled “TState”TState extends object
TActions
Section titled “TActions”TActions extends object