-
Notifications
You must be signed in to change notification settings - Fork 166
React 15.5 upgrade #203
Comments
I started some of the 15.5.x upgrade here: https://github.com/cerner/terra-core/tree/react-15.5
|
Looks like the enzyme PR to add compat with react 15.5 has been merged. Waiting on a release for that. |
Pull request for react-docgen is still open: reactjs/react-docgen#172 |
The react-docgen issue has been closed |
react-datepicker merged their fix |
They released a version of react-docgen (2.14.1) to fix the build issues we were seeing around their compiling changes (reactjs/react-docgen#174). I believe that this should allow us to push to the appropriate version of react-docgen. |
The react-intl pr for adding react 15.5 compat has been merged. This should be our last blocker for us on adding react 15.5 compat to our components. |
Releases to support 15.5 / 16
|
https://www.npmjs.com/package/react-addons-test-utils To get our jest tests working again, we need to also install react-test-renderer. enzymejs/enzyme#875 (comment) |
I updated the react-datepicker dependency to 0.46. In this version, they added a new prop called |
|
After updating react-intl to 2.3.0, all of our tests now pass. When running the site locally, I am still seeing this warning:
I will investigate which dependency is still causing this warning. |
After going through this exercise, I think it might be a good idea to separate out each of our components into their own webpack bundle.
|
I had missed a couple proptypes. This branch is ready to upgrade to react-15.5: https://github.com/cerner/terra-core/tree/react-15.5 There are no longer warnings and all tests are passing. |
After terra-time-input was merged into master, my tests are failing again. This is the issue: I can't merge the pull request until that issue is resolved. ^ We have removed text-mask for now. Closing this issue. |
The react 15.5 release was non-passive for our packages. React is currently locked to version 15.4.2
We need to update our packages to be compatible with react 15.5.
https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html
Limitations:
react-create-class
andprop-types
jsx-eslint/eslint-plugin-react#1144The text was updated successfully, but these errors were encountered: