Preparing search index...
The search index is not available
React18 Global Store
React18 Global Store
utils
createHook
Function createHook
Extract coomon create hook logic to utils
createHook
<
T
>
(
key
:
string
)
:
[
T
,
SetStateAction
<
T
>
]
Type Parameters
T
Parameters
key
:
string
Returns
[
T
,
SetStateAction
<
T
>
]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
React18 Global Store
Loading...
Extract coomon create hook logic to utils