dillon1000/react

Commit

Fix useSyncExternalStore dropped update when state is dispatched in render phase (#25578)

Fix https://github.com/facebook/react/issues/25565
Browse files
Changed paths3 files
First-parent comparison
M packages/react-reconciler/src/ReactFiberHooks.new.js ModifiedM packages/react-reconciler/src/ReactFiberHooks.old.js ModifiedM packages/react-reconciler/src/__tests__/useSyncExternalStore-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…