-
Notifications
You must be signed in to change notification settings - Fork 45.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refine event system types + pass through priority #18305
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 0e15bae:
|
Details of bundled changes.Comparing: 45d26f6...0e15bae react-dom
ReactDOM: size: 0.0%, gzip: -0.1% Size changes (stable) |
Details of bundled changes.Comparing: 45d26f6...0e15bae react-dom
Size changes (experimental) |
d622ce6
to
0e15bae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank god for type systems
This PR is mostly cosmetic, it renames some functions and allows
priority
to be passed through toaddTrappedEventListener
. I also cleaned up some of the Flow types.