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
,
includeRegExp
?:
null
|
0
|
RegExp
,
excludeRegExp
?:
RegExp
,
)
:
[
T
,
SetStateAction
<
T
>
]
Type Parameters
T
Parameters
key
:
string
Optional
includeRegExp
:
null
|
0
|
RegExp
Optional
excludeRegExp
:
RegExp
Returns
[
T
,
SetStateAction
<
T
>
]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
React18 Global Store
index
useRGS
Plugin
SetStateAction
SetterArgType
plugins
persist
PersistOptions
persist
PersistOptions
persist
utils
<internal>
Listener
ListenerWithSelectors
Mutate
Plugin
RGS
SetStateAction
SetterArgType
ValueType
globalRGS
createHook
initWithPlugins
listToRegExp
triggerListeners
useRGSWithPlugins
with-plugins
create
withPlugins
useRGSWithPlugins
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Extract coomon create hook logic to utils