mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
* Call getSnapshot in shim * just change useSyncExternalStoreServer * remove builtInAPI Check in useSyncExternalStoreClient
use-sync-external-store
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
Until useSyncExternalStore is documented, refer to https://github.com/reactwg/react-18/discussions/86