dillon1000/react

Commit

[useSES shim] Import prefixed native API (#22310)

Until useSyncExternalStore is finalized, the shim should import the
prefixed version (unstable_useSyncExternalStore), which is available
in the experimental builds. That way our early testers can start
using it.
Browse files
Changed paths2 files
First-parent comparison
M packages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js ModifiedM packages/use-sync-external-store/src/useSyncExternalStore.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…