-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Use browser event names for top-level event types in React DOM #12629
Merged
Merged
Changes from 30 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
d02d86a
Add TopLevelEventTypes
philipp-spiess 45713ce
Fix `ReactBrowserEventEmitter`
philipp-spiess 5f11da0
Fix EventPluginUtils
philipp-spiess 58a24ba
Fix TapEventPlugin
philipp-spiess 390fb51
Fix ResponderEventPlugin
philipp-spiess 3dcbf4d
Update ReactDOMFiberComponent
philipp-spiess 1fb5cd8
Fix BeforeInputEventPlugin
philipp-spiess 96ce3cd
Fix ChangeEventPlugin
philipp-spiess 737626a
Fix EnterLeaveEventPlugin
philipp-spiess a03d896
Add missing non top event type used in ChangeEventPlugin
philipp-spiess d58cd30
Fix SelectEventPlugin
philipp-spiess e1b9166
Fix SimpleEventPlugin
philipp-spiess f07a64f
Fix outstanding Flow issues and move TopLevelEventTypes
philipp-spiess da64f27
Inline a list of all events in `ReactTestUtils`
philipp-spiess 16c39e5
Fix tests
philipp-spiess 4a7114e
Make it pretty
philipp-spiess 2a87568
Fix completly unrelated typo
philipp-spiess 0d864ca
Don’t use map constructor because of IE11
philipp-spiess 586708e
Update typings, revert changes to native code
philipp-spiess 12c9ac3
Make topLevelTypes in ResponderEventPlugin injectable and create DOM …
philipp-spiess 9d684fc
Set proper dependencies for DOMResponderEventPlugin
philipp-spiess c27ab85
Prettify
philipp-spiess 4043f87
Make some react dom tests no longer depend on internal API
philipp-spiess f029940
Use factories to create top level speific generic event modules
philipp-spiess 0ace5a1
Remove unused dependency
philipp-spiess 653492c
Revert exposed module renaming, hide store creation, and inline depen…
philipp-spiess 7e8b34f
Add Flow types to createResponderEventPlugin and its consumers
philipp-spiess 2d21c09
Remove unused dependency
philipp-spiess d1c390b
Use opaque flow type for TopLevelType
philipp-spiess ec0b881
Add missing semis
philipp-spiess 352dfbf
Use raw event names as top level identifer
philipp-spiess ac6e3e2
Upgrade baylon
philipp-spiess 4a7bf07
Clean up flow types
philipp-spiess 3ebd359
Revert Map changes of ReactBrowserEventEmitter
philipp-spiess 6095b0f
Upgrade babel-* packages
philipp-spiess bb057bc
Revert Map changes of SimpleEventPlugin
philipp-spiess 6800d01
Clean up ReactTestUtils
philipp-spiess 4d76b15
Add missing semi
philipp-spiess af02875
Fix Flow issue
philipp-spiess c1f6b38
Make TopLevelType clearer
philipp-spiess 0cb8fad
Favor for loops
philipp-spiess df7f91d
Explain the new DOMTopLevelEventTypes concept
philipp-spiess 15c2723
Use static injection for Responder plugin types
gaearon 4b2ca6b
Remove null check and rely on flow checks
philipp-spiess e19f37b
Add missing ResponderEventPlugin dependencies
philipp-spiess 0c6982d
Merge branch 'master' into no-top-level-events
gaearon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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.
Those methods have been used by the responder plugin and a dependency of the responder and were thus added in the
events/
shared package. Since don't have the top level types for DOM here anymore, those were removed.