* Update ReactFiberHooks.new.js * Add regression test + replace-fork * Prettier Co-authored-by: Dan Abramov <dan.abramov@me.com> |
||
|---|---|---|
| .. | ||
| 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