-
Notifications
You must be signed in to change notification settings - Fork 67
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
Upgrade to React 15.4.1 #108
Upgrade to React 15.4.1 #108
Conversation
+ This is due to React DOM now exporting some of the addons
+1 |
ad9931a
to
78061a1
Compare
@@ -429,7 +429,7 @@ _convertEventHandlers(Map args) { | |||
args.forEach((propKey, value) { | |||
var eventFactory = _eventPropKeyToEventFactory[propKey]; | |||
if (eventFactory != null && value != null) { | |||
args[propKey] = (events.SyntheticEvent e, [String domId, Event event]) => zone.run(() { | |||
args[propKey] = (events.SyntheticEvent e, [_, __]) => zone.run(() { |
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.
For my own knowledge @jacehensley-wf - what is the reason for relaxing the type / obfuscating the arguments here?
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.
The reason is because now the second arg passed to this is now of type EventImpl
. And because we really don't care what it is we can just ignore it.
@@ -5,7 +5,7 @@ | |||
<title></title> | |||
|
|||
<script src="packages/react/react_prod.js"></script> | |||
<script src="packages/react/react_dom_prod.js"></script> | |||
<script src="packages/react/react_dom.js"></script> |
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.
Why was this changed?
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.
Oh, I just changed all react_dom_prod.js
to react_dom.js
, this one can be reverted
<a href="/react_test_utils_test.html"> | ||
Run <code>react_test_utils_test.html</code> | ||
</a> | ||
</li> |
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.
Niiiiiiiiice. Would you mind adding links to the js_interop_helpers_test
files as well, while you're in here?
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.
Added in decc8cd
+10 |
React 15.4.1 just got released, so this PR now bumps to that. |
+1 |
@trentgrover-wf @greglittlefield-wf this is ready for merge / tag. |
+10 Merging |
Ultimate Problem:
React 15.4.1 just got release and it came with lots of good stuff.
Solution:
Testing Suggestions:
--
FYA: @trentgrover-wf @greglittlefield-wf @clairesarsam-wf @aaronlademann-wf @joelleibow-wf