-
Notifications
You must be signed in to change notification settings - Fork 586
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
Warning about componentWillReceiveProps
in React 16.9.0
#670
Comments
Duplicate of #624. |
@ChrisWiles Renaming is not a fix. That's a temporary band-aid to suppress the warning. The warning has a meaning; the method is being removed in the next major version, so you need to refactor the internals, for instance using the static |
You still have a while before react 17, so while you refactor your library you could at least add unsafe in the meantime which takes no time and little effort |
Actually, the |
Yes please add |
bump. @moroshko if someone made a PR to address this would you merge it? It would be great to have this fixed before react 17 comes out. otherwise this library will no longer work. |
Just fork it, publish a namescoped version to the NPM registry and change your dependencies to use that. Done. |
@fatso83 yea that's fine temporarily but if the repo will never be updated i'll probably just look for alternatives |
hello , any help regarding path , iused following path but it didn't do anything
|
Here's a PR that should take care of it: #681 |
Fixed in #681 |
@aberezkin Thanks! been waiting on this for a while now. |
@aberezkin Also thanks! |
Can be auto fixed with
npx react-codemod rename-unsafe-lifecycles <path>
The text was updated successfully, but these errors were encountered: