createSimpleStore
createSimpleStore<
TState>(initialState):Store<TState>
Defined in: store/adapters/SimpleAdapter.ts:77
A dependency-free store for StoreProvider. The default choice when you don’t need another library’s ecosystem.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TState | any |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
initialState | TState |
Returns
Section titled “Returns”Store<TState>