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

@kanaabe => Upgrade to React 16 + Enzyme 3 #1506

Merged
merged 5 commits into from
Dec 21, 2017

Conversation

damassi
Copy link
Member

@damassi damassi commented Dec 19, 2017

This updates minor semver packages via yarn upgrade-interactive, updates React to 16 and Enzyme to 3. For enzyme in particular, read over the migration guide as there are a handful of breaking changes and (this issue might also be good to read.

There were a few places where I've added FIXME TEST: as I couldn't quite figure out how to fix, but should be quick to go over once merged.

@damassi damassi self-assigned this Dec 19, 2017
@damassi damassi requested review from eessex and kanaabe December 19, 2017 23:44
@ghost ghost added the In progress label Dec 19, 2017

# Patch React 16 with deprecated helpers. Can remove once CoffeeScript goes away
React.DOM = DOM
React.createClass = createClass
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh nice, we were wondering about how we would do this :)

Copy link
Member Author

Choose a reason for hiding this comment

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

❤️ JavaScript

@ghost ghost added the In progress label Dec 21, 2017
@kanaabe
Copy link
Contributor

kanaabe commented Dec 21, 2017

Wow @damassi this is legit 👍 . Once the tests pass (and feel free to continue pending things if it becomes too much of a pain), let's merge and make sure staging looks great. I created a card so we don't forget to address them.

Copy link
Contributor

@kanaabe kanaabe left a comment

Choose a reason for hiding this comment

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

Hella approve

@damassi
Copy link
Member Author

damassi commented Dec 21, 2017

Alright! this should be ready to go

@damassi
Copy link
Member Author

damassi commented Dec 21, 2017

All of the Enzyme 3 changes were tough! make sure to check out the migration guide and let me know when y'all have looked into the FIXME TESTS issue (out of curiousity)

@damassi damassi changed the title @kanaabe => [WIP] Upgrade to React 16 + Enzyme 3 @kanaabe => Upgrade to React 16 + Enzyme 3 Dec 21, 2017
@damassi damassi merged commit cfa24ab into artsy:master Dec 21, 2017
@damassi damassi deleted the upgrade-react-16 branch December 21, 2017 00:30
@damassi damassi restored the upgrade-react-16 branch December 21, 2017 00:30
@damassi damassi deleted the upgrade-react-16 branch December 21, 2017 01:06
@damassi damassi restored the upgrade-react-16 branch December 21, 2017 01:52
@damassi damassi mentioned this pull request Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants