Package Exports
- use-sync-external-store
- use-sync-external-store/index.js
- use-sync-external-store/shim
- use-sync-external-store/shim/index.js
- use-sync-external-store/shim/with-selector
- use-sync-external-store/shim/with-selector.js
- use-sync-external-store/with-selector
- use-sync-external-store/with-selector.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (use-sync-external-store) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.