dillon1000/react

Commit

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.
Browse files
Changed paths5 files
First-parent comparison
M fixtures/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…