-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Deprecated lifecycles warning when using react 16.9.0 #2680
Comments
Here is the sample error in the console:
I get the same error, for example, for Navigator, Page, Toolbar The quick fix as a stop-gap just to remove the error is to rename the deprecated lifecyles: e.g. from The long term fix is to move the handling to the other lifecyle methods. By the way, this is indeed a duplicate. The only change now is that with React 16.9.0, React is giving that long warning for each component using the deprecated methods. For a JS developer who use the console, it makes development a little harder because I have to scroll through the long warnings. Thanks |
Anything we can do to help on this? We cannot move to React 16.9.0 because development will be difficult with all the warnings being thrown |
@emccorson, created a stop-gap solution PR for React 16.9: #2694 |
Environment
Onsen UI Version:
2.10.10
Framework:
React 16.9.0
Framework binding:
react-onsenui 1.11.2
Platform:
All platforms
Encountered problem
React giving warnings of deprecated lifecycle methods for version 16.9.0
How to reproduce
Upgrade react to 16.9.0
The text was updated successfully, but these errors were encountered: