Skip to content

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 ParameterDefault type
TStateany
ParameterType
initialStateTState
options?MobxAdapterOptions

Promise<MobxAdapter<TState>>