@antadesign/anta
Preparing search index...
jsx-runtime
useSyncExternalStore
Function useSyncExternalStore
useSyncExternalStore
<
T
>
(
subscribe
:
(
onChange
:
()
=>
void
)
=>
()
=>
void
,
getSnapshot
:
()
=>
T
,
getServerSnapshot
?:
()
=>
T
,
)
:
T
Type Parameters
T
Parameters
subscribe
:
(
onChange
:
()
=>
void
)
=>
()
=>
void
getSnapshot
:
()
=>
T
Optional
getServerSnapshot
:
()
=>
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@antadesign/anta
Loading...