amis-rpc-design/node_modules/use-sync-external-store/README.md
2023-10-07 19:42:30 +08:00

6 lines
261 B
Markdown

# use-sync-external-store
Backwards-compatible shim for [`React.useSyncExternalStore`](https://reactjs.org/docs/hooks-reference.html#usesyncexternalstore). Works with any React that supports Hooks.
See also https://github.com/reactwg/react-18/discussions/86.