Type Alias: SyncStore()
SyncStore: (
onChange
) => () =>void
Represents an event store which can be subscribed to listen its changes.
This store exactly the same as accepted by React.useSyncExternalStore hook.
Parameters
Parameter | Type |
---|---|
| () => |
Returns
Function
Returns
void