The store contract the standalone runtime implements -- useSyncExternalStore-compatible without importing React.
useSyncExternalStore
Returns the current, immutable DataState snapshot.
DataState
Registers listener to be called after every committed state change; returns an unsubscribe function.
listener
The store contract the standalone runtime implements --
useSyncExternalStore-compatible without importing React.