dillon1000/react

Commit

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.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-dom/src/events/ReactDOMEventListener.js ModifiedM packages/react-dom/src/events/__tests__/SimpleEventPlugin-test.internal.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…