Kind: Function
Source: src/jsx/hooks/index.ts
Part of: Jsx
Signature
tsfunction useSyncExternalStore(subscribe: (callback: () => void) => () => void, getSnapshot: () => T, getServerSnapshot: () => T): T
Parameters
| Name | Type |
|---|---|
subscribe | (callback: () => void) => () => void |
getSnapshot | () => T |
getServerSnapshot | () => T |
Returns: T
Was this page helpful?