createMobxStore
createMobxStore<
TState>(initialState,options?):Promise<MobxAdapter<TState>>
Defined in: index.ts:107
Async wrapper retained for back-compat with consumers that awaited the old dynamic-import based factory. Resolves immediately now.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TState | any |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
initialState | TState |
options? | MobxAdapterOptions |
Returns
Section titled “Returns”Promise<MobxAdapter<TState>>