UNPKG

use-sync-external-store

Version:

Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.

6 lines (3 loc) 236 B
# 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