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

Update to use new lifecycle method #89

Open
phapdinh opened this issue Aug 29, 2019 · 1 comment
Open

Update to use new lifecycle method #89

phapdinh opened this issue Aug 29, 2019 · 1 comment

Comments

@phapdinh
Copy link

React has changed their lifecycle methods to this https://reactjs.org/docs/react-component.html. There is a warning being thrown when you are using old lifecycle methods

@spewarren
Copy link

spewarren commented May 20, 2020

You can rename the usage of componentWillReceiveProps to UNSAFE_componentWillReceiveProps to stop the warning but obviously a fix which used a supported lifestyle method (or a refactor to functional code) would be better.

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

2 participants