GeezerVison is showing github.com — Add more non-React events to the priority list by gaearon · Pull Request #20774 · react/react
Conversation
In this PR, I'm adding more events to the priority switch. I went through MDN Events and added a few Discrete events and a few Continuous ones.
This includes events that we polyfill (like mouseenter and mouseleave), the ones where we use different names (like focus and blur), and some that we never had in the list but probably should now (like popstate — #17279).
Added a test for mouseover (already in the list) and mouseenter (new in the list) inspired by a similar test using React handlers from ChangeEventPlugin-test.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
NE-SmallTown reacted with hooray emoji
sizebot
commented
Feb 9, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Comparing: d919e2c...9c07beb
Critical size changes
Includes critical production bundles, as well as any change greater than 2%:
| Name |
+/- |
Base |
Current |
+/- gzip |
Base gzip |
Current gzip |
| oss-stable/react-dom/cjs/react-dom.production.min.js |
+0.14% |
122.31 kB |
122.48 kB |
+0.08% |
39.42 kB |
39.45 kB |
| oss-experimental/react-dom/cjs/react-dom.production.min.js |
+0.13% |
128.89 kB |
129.06 kB |
+0.09% |
41.46 kB |
41.50 kB |
| facebook-www/ReactDOM-prod.classic.js |
+0.05% |
406.62 kB |
406.84 kB |
+0.07% |
75.37 kB |
75.42 kB |
| facebook-www/ReactDOM-prod.modern.js |
+0.06% |
394.97 kB |
395.19 kB |
+0.06% |
73.49 kB |
73.54 kB |
| facebook-www/ReactDOMForked-prod.classic.js |
+0.05% |
406.63 kB |
406.85 kB |
+0.07% |
75.37 kB |
75.42 kB |
Significant size changes
Includes any change greater than 0.2%:
(No significant changes)
Generated by 🚫 dangerJS against 9c07beb
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
koto
pushed a commit
to koto/react
that referenced
this pull request
Jun 15, 2021
* Add a test for mouseover being continuous
* Add more non-React events to the priority list
mrizwanashiq
pushed a commit
to mrizwanashiq/react
that referenced
this pull request
Jun 25, 2026
* Add a test for mouseover being continuous
* Add more non-React events to the priority list
hanzo-dev
pushed a commit
to hanzoai/react
that referenced
this pull request
Sep 9, 2026
* Add a test for mouseover being continuous
* Add more non-React events to the priority list
Reviewers
acdlite
Awaiting requested review from acdlite
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.