dillon1000/react
Commit
Browse files Rely on bubbling for submit and reset events (#13358)
* Bring back onSubmit bubble test I found a test that was written more than 5 years ago and probably never run until now. The behavior still works, although the API changed quite a bit over the years. Seems like this was part of the initial public release already: https://github.com/facebook/react/commit/75897c2dcd1dd3a6ca46284dd37e13d22b4b16b4#diff-1bf5126edab96f3b7fea034cd3b0c742R31 * Rely on bubbling for submit and reset events * Update dom fixture lockfile * Revet rollup results Whoopsie.
Changed paths5 files
First-parent comparisonfixtures/dom/yarn.lock ModifiedM packages/react-dom/src/__tests__/ReactDOM-test.js ModifiedM packages/react-dom/src/__tests__/ReactDOMEventListener-test.js ModifiedM packages/react-dom/src/client/ReactDOMFiberComponent.js ModifiedM packages/react-dom/src/events/ReactBrowserEventEmitter.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…