-
Notifications
You must be signed in to change notification settings - Fork 78
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 16 #2729
Upgrade to React 16 #2729
Conversation
57ec033
to
8f6758a
Compare
b4c20b4
to
ac821eb
Compare
ad4f266
to
87c46db
Compare
LGTM. Would be good to upgrade the other packages and clear test warnings next. What do you guys think if we removed
|
I think we can take the discussion to figure out whether to use |
Thanks @jeremyyap! 👍 |
Reference #2641
It turns out that upgrading to React 16 actually doesn't require much changes. It's mostly the Enzyme tests that break.
To test Material UI dialogs, we now remount the dialog contents in a new wrapper. We might be able to remove this workaround once we upgrade to Material UI v1, since v1 uses React Portals instead of its own implementation for dialogs.
Old:
New:
There are 2 remaining frontend test failures for the
shallowUntil
test helper. Have disabled them for now.