dillon1000/react

Commit

Remove Array.from() from hot path (#19908)

* Remove Array.from() from hot path

* Fix build

Don't declare block variables inside loops
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/events/DOMPluginEventSystem.js ModifiedM packages/react-interactions/events/src/dom/create-event-handle/useEvent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…