You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace react-addons-css-transition-group by react-transition-group
Globally replace like this:
-import ReactCSSTransitionGroup from 'react-addons-css-transition-group';+import ReactCSSTransitionGroup from 'react-transition-group/CSSTransitionGroup';
Replace react-addons-update by immutability-helper
Global replacement:
-import update from 'react-addons-update';+import update from 'immutability-helper';
The latest
react
andreact-dom
module version is 16.2.0.Upgrading would require some changes:
Replace
React.PropType
useSee https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactproptypes
Replace
react-addons-css-transition-group
byreact-transition-group
Globally replace like this:
Replace
react-addons-update
byimmutability-helper
Global replacement:
react-addons-test-utils gets removed
Now part of
react-dom
. See https://reactjs.org/docs/test-utils.htmlNot sure about the impact or any further changes required.
react-router upgrade
Latest is 4.2.0. It no longer supports scrolling. See below.
react-router-scroll not working
Latest version does not yet work with react-router 4.x.x. See taion/react-router-scroll#52 and https://reacttraining.com/react-router/web/guides/scroll-restoration
We maybe can just delete the
applyRouterMiddleware(useScroll())
part from the router in app.js. What are we going to lose?react-redux upgrade
Maybe the new version 5.0.6 will work...?
react-datepicker upgrade
Maybe 1.0.4 will work?
react-tag-input upgrade
Seems like the latest version 4.7.2 is not compatible with react v16.
I can't find a use for the module anyway.
enzyme upgrade
Maybe 3.3.0 works?
Additional fixes
There might be fixes required in code for other modules.
The text was updated successfully, but these errors were encountered: