-
Notifications
You must be signed in to change notification settings - Fork 68
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
CPLAT-12688 Add synthetic Event Utils to master #282
Conversation
For CI, Dart 2.10.x fails on the formatting step - my understanding is that this was known and ignored for now. Let me know if there is something to do there though! |
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.
Just a couple more small things; this is looking great!
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.
Just a couple small questions.
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.
QA+1 Everything looks great!
|
Verified CI failed due to that same Dart 2.10.x formatting step! |
To prepare for React 17, there needs to be APIs that abstract the creation of SyntheticEvents so that we can remove dependence on the event class constructors.
Changes
createSynthetic{eventClass}
function for every synthetic event type that allows consumers to create an empty instance, set specific properties on an instance, or merge an instance with new propertiesQA