-
Notifications
You must be signed in to change notification settings - Fork 40
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
Conversation
f9cff4a
to
7de6c59
Compare
|
||
# Patch React 16 with deprecated helpers. Can remove once CoffeeScript goes away | ||
React.DOM = DOM | ||
React.createClass = createClass |
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 nice, we were wondering about how we would do this :)
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.
❤️ JavaScript
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. |
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.
Hella approve
Alright! this should be ready to go |
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 |
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.