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

Warning about componentWillReceiveProps in React 16.9 #61

Open
forkerino opened this issue Aug 12, 2019 · 1 comment
Open

Warning about componentWillReceiveProps in React 16.9 #61

forkerino opened this issue Aug 12, 2019 · 1 comment

Comments

@forkerino
Copy link

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

NouraldinS added a commit to NouraldinS/react-ladda that referenced this issue Oct 3, 2019
References jsdir#61 

As mentioned in React docs [here](https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops) `componentWillReceiveProps` is being deprecated, and should be either renamed to `UNSAFE_componentWillReceiveProps` or be replaced with `componentDidUpdate`.
@RickeyWard
Copy link

Anything in particular holding up this pull request? We would love to see this updated version on npm

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