Hex Core JS
Preparing search index...
Core
useResettableState
Function useResettableState
useResettableState
<
S
>
(
initialState
:
S
,
)
:
readonly
[
S
,
Dispatch
<
SetStateAction
<
S
>
>
,
()
=>
void
,
(
newState
:
S
)
=>
void
,
]
Type Parameters
S
Parameters
initialState
:
S
Returns
readonly
[
S
,
Dispatch
<
SetStateAction
<
S
>
>
,
()
=>
void
,
(
newState
:
S
)
=>
void
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Hex Core JS
Loading...