* Add .browser and .node explicit entry points This can be useful when the automatic selection doesn't work properly. * Remove react/index I'm not sure why I added this in the first place. Perhaps due to how our builds work somehow. * Remove build-info.json from files field |
||
|---|---|---|
| .. | ||
| npm | ||
| shim | ||
| src | ||
| README.md | ||
| index.js | ||
| package.json | ||
| with-selector.js | ||
README.md
use-sync-external-store
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
Until useSyncExternalStore is documented, refer to https://github.com/reactwg/react-18/discussions/86