dillon1000/react
Commit
Browse files 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.)
Changed paths1 file
First-parent comparisonsrc/renderers/dom/shared/ReactDOMEventListener.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…