dillon1000/react

Commit

Don't use EventListener Fork in Modern WWW Builds (#18333)

* Move unsubscribe fork to EventListener

That way we can statically compile out more of these indirections.

* Don't use the EventListener fork for Modern WWW builds
Browse files
Changed paths4 files
First-parent comparison
M packages/react-dom/src/events/EventListener.js ModifiedM packages/react-dom/src/events/ReactDOMEventListener.js ModifiedM packages/react-dom/src/events/forks/EventListener-www.js ModifiedM scripts/rollup/forks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…