dillon1000/react
Commit
Browse files [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.
Changed paths2 files
First-parent comparisonpackages/use-sync-external-store/src/__tests__/useSyncExternalStoreShared-test.js ModifiedM packages/use-sync-external-store/src/useSyncExternalStore.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…