dillon1000/react

Commit

Ignore events on not-yet-mounted fibers (#9742)

This isn't necessarily what we want long-term especially with more async, but currently we crash in jsdom in some cases when an img load event gets dispatched synchronously. (Needed for FB-internal D5060180.)
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/shared/ReactDOMEventListener.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…