GitHub
Examples
Preparing search index...
The search index is not available
Statekit - v2.0.0
Statekit
StoreContext
Type Alias StoreContext<TArgs, TState, TActions>
StoreContext
:
React.Context
<
Store
<
TState
,
TActions
>
|
null
>
&
{
instantiate
:
(
...
args
:
TArgs
)
=>
Store
<
TState
,
TActions
>
;
}
Type Parameters
TArgs
extends
unknown
[]
TState
extends
object
TActions
extends
object
Type declaration
instantiate
:
(
...
args
:
TArgs
)
=>
Store
<
TState
,
TActions
>
Returns a new instance of the store.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
Examples
Statekit - v2.0.0
Loading...
Returns a new instance of the store.