dillon1000/react
Commit
Browse files Interactive updates shouldn't flush until the end of the outermost batch
Accounts for the case where an event is dispatched synchronously from inside another event, like `el.focus`. I've added a test, but in general we need more coverage around this area.
Changed paths3 files
First-parent comparisonpackages/react-dom/src/events/ReactDOMEventListener.js ModifiedM packages/react-dom/src/events/__tests__/SimpleEventPlugin-test.internal.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…