use-sync-external-store
Version:
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
8 lines (6 loc) • 254 B
JavaScript
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.