Skip to content
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

Merged

Conversation

jacehensley-wf
Copy link
Contributor

@jacehensley-wf jacehensley-wf commented Nov 18, 2016

Ultimate Problem:

React 15.4.1 just got release and it came with lots of good stuff.

Solution:

  • Update to React 15.4.1
  • Make sure all tests pass

Testing Suggestions:

  • Verify all tests / examples pass

--
FYA: @trentgrover-wf @greglittlefield-wf @clairesarsam-wf @aaronlademann-wf @joelleibow-wf

@maxwellpeterson-wf
Copy link
Member

+1

@@ -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(() {
Copy link
Collaborator

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?

Copy link
Contributor Author

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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed?

Copy link
Contributor Author

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>
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in decc8cd

@greglittlefield-wf
Copy link
Collaborator

greglittlefield-wf commented Nov 23, 2016

  • Changes looks good
  • All tests pass in Dartium and dart2js

+10

@jacehensley-wf jacehensley-wf changed the title Upgrade to React 15.4 Upgrade to React 15.4.1 Dec 7, 2016
@jacehensley-wf
Copy link
Contributor Author

React 15.4.1 just got released, so this PR now bumps to that.

@aaronlademann-wf
Copy link
Collaborator

+1

@aaronlademann-wf
Copy link
Collaborator

@trentgrover-wf @greglittlefield-wf this is ready for merge / tag.

@greglittlefield-wf
Copy link
Collaborator

  • Changes still look good
  • All tests pass in Dartium and dart2js

+10

Merging

@greglittlefield-wf greglittlefield-wf merged commit b141038 into Workiva:master Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants