dillon1000/react

Commit

Don't flush sync at end of discreteUpdates (#21327)

All it should do is change the priority. The updates will be flushed
by the microtask.
Browse files
Changed paths6 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMNativeEventHeuristic-test.js ModifiedM packages/react-dom/src/events/ReactDOMUpdateBatching.js ModifiedM packages/react-dom/src/events/plugins/__tests__/SimpleEventPlugin-test.js ModifiedM packages/react-reconciler/src/ReactFiberWorkLoop.new.js ModifiedM packages/react-reconciler/src/ReactFiberWorkLoop.old.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…