O3 Framework / createUseStore
createUseStore<
T>(store): {():T; <A>(actions):T&BoundActions<T,A>; <A>(actions?):T&BoundActions<T,A>; }
Defined in: packages/framework/esm-react-utils/src/useStore.ts:104
Whenever possible, use useStore(yourStore) instead. This function is for creating a
custom hook for a specific store.
T
StoreApi<T>
():
T
T
<
A>(actions):T&BoundActions<T,A>
A extends Actions<T>
A
T & BoundActions<T, A>
<
A>(actions?):T&BoundActions<T,A>
A extends Actions<T>
A
T & BoundActions<T, A>