amis-rpc-design/node_modules/use-sync-external-store
2023-10-07 19:42:30 +08:00
..
cjs v1.0.0 2023-10-07 19:42:30 +08:00
shim v1.0.0 2023-10-07 19:42:30 +08:00
index.js v1.0.0 2023-10-07 19:42:30 +08:00
LICENSE v1.0.0 2023-10-07 19:42:30 +08:00
package.json v1.0.0 2023-10-07 19:42:30 +08:00
README.md v1.0.0 2023-10-07 19:42:30 +08:00
with-selector.js v1.0.0 2023-10-07 19:42:30 +08:00

use-sync-external-store

Backwards-compatible shim for React.useSyncExternalStore. Works with any React that supports Hooks.

See also https://github.com/reactwg/react-18/discussions/86.