Practic Persist - v1.0.0
Preparing search index...
components/persist/persist
Persist
Variable Persist
Const
Persist
:
{
Effect
:
<
T
,
K
extends
string
|
number
|
symbol
>
(
props
:
PropsWithChildren
<
{
state
:
PersistState
<
T
>
;
val
:
T
[
K
]
;
valKey
:
K
}
,
>
,
)
=>
ReactNode
;
Root
:
<
T
extends
PersistStorableCompatible
<
T
>
>
(
props
:
PersistItem
<
T
>
,
)
=>
ReactNode
;
}
= ...
Groups the persistence state owner and synchronization effect into a compound component API.
Type Declaration
Effect
:
<
T
,
K
extends
string
|
number
|
symbol
>
(
props
:
PropsWithChildren
<
{
state
:
PersistState
<
T
>
;
val
:
T
[
K
]
;
valKey
:
K
}
,
>
,
)
=>
ReactNode
Root
:
<
T
extends
PersistStorableCompatible
<
T
>
>
(
props
:
PersistItem
<
T
>
)
=>
ReactNode
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Practic Persist - v1.0.0
Loading...
Groups the persistence state owner and synchronization effect into a compound component API.