Skip to content
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

Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps #695

Closed
SMaverick78 opened this issue Dec 3, 2019 · 10 comments
Closed

Comments

@SMaverick78
Copy link

Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Autosuggest, Autowhatever.
Could you please update the component according to this message in console.log.

@ronaklalwaniii
Copy link

Yeah, Please merge this pull request ASAP.

@SMaverick78
Copy link
Author

I looked at pull request. These are the changes that are needed. And I don't need to add pull request. Thanks for the quick response. I will wait for the package update

@SMaverick78
Copy link
Author

I see the thread has merge in master. And when will the changes appear in the package?

@YuriMB
Copy link

YuriMB commented Dec 13, 2019

Note: This breaks react <16.3 support.

@danbergelt
Copy link

+1 also waiting on updated package.

@ronaklalwaniii
Copy link

+1

2 similar comments
@bliitzkrieg
Copy link

+1

@webdev24
Copy link

+1

@a-x-
Copy link

a-x- commented Jan 28, 2020

from pull request, 17 days ago:

npm i && npm t is failing on master. Does anyone have time to look into this?

@aberezkin
Copy link
Collaborator

Fixed in #681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants