dillon1000/react

Commit

Bail-out of attaching non-delegated listeners (#19466)

* Bail-out of attaching non-delegated listeners

Revise comment

* Fix tests/add tests

* Add onInvalid test
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactDOMEventListener-test.js ModifiedM packages/react-dom/src/events/DOMPluginEventSystem.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…