-
Notifications
You must be signed in to change notification settings - Fork 67
Warning on console when using react v16.4 #94
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
Comments
@rishichawda this repo is no longer maintained for 1+ year, now we use https://github.com/FriendsOfReactJS/react-css-themr Please upgrade to the new version. |
@ovaldi The same problem persists with the https://github.com/FriendsOfReactJS/react-css-themr fork. Should I raise the PR there? Update : I've raised a pull request on the maintained fork. Hope that gets merged soon. Thanks @ovaldi for letting me know. Link to PR |
@rishichawda Cool! |
Problem has been solved in the fork ;) |
When used with react v16.4, it throws an error in dev console which was introduced after v16.3 in support of removing the
componentWillMount
,componentWillReceiveProps
, andcomponentWillUpdate
lifecycle methods.Since themr.js uses the
componentWillRecieveProps
lifecycle method, when used in a project with react v16.4, it throws a console warning. Moreover, this method will be deprecated in future releases of React ( v17.0 )More about this here.
The text was updated successfully, but these errors were encountered: