Skip to content

StoreProvider

const StoreProvider: React.FC<{ asyncHandlers?: AsyncHandlers; bindings?: BindingsRecord; children: React.ReactNode; stateMachines?: StateMachineDefinition[]; store: Store; }>

Defined in: store/StoreProvider.tsx:106

StoreProvider with async + machine action support.

Async operation state lives in the store at the reserved _async key, routed through the same dispatch path as user state. useAsyncOperations is a thin selector over useStore.