main
md 5 lines 261 Bytes
Rendered Raw
1 # use-sync-external-store
2
3 Backwards-compatible shim for [`React.useSyncExternalStore`](https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore). Works with any React that supports Hooks.
4
5 See also https://github.com/reactwg/react-18/discussions/86.