mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
* Point useSubscription to useSyncExternalStore shim * Update tests * Update README * Ad hoc case
use-sync-external-store
Backwards-compatible shim for React.useSyncExternalStore. Works with any React that supports Hooks.
See also https://github.com/reactwg/react-18/discussions/86.