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: componentWillMount is deprecated #82

Open
puremana opened this issue Sep 25, 2019 · 5 comments
Open

Warning: componentWillMount is deprecated #82

puremana opened this issue Sep 25, 2019 · 5 comments

Comments

@puremana
Copy link

Thank you guys for your work and continued supported of this wonderful package.

Just thought I would give you a heads up that I am getting warning errors regarding componentWillMount being deprecated in the next major version.

9b01b6528d14853b00689d8cc2889c10

@ArtiomShapovalov
Copy link
Collaborator

I will look into it sometime

@Maskedman99
Copy link

It was announced that the React lifecycle methods componentWillReceiveProps, ComponentWillMount, and componentWillUpdate will be deprecated in a future version of React. This is because of the eventual migration of React to async rendering; these lifecycle methods will become unreliable when async rendering is made default.
In place of these methods, the new static method getDerivedStateFromProps was introduced.
https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

@Boubaker93
Copy link
Contributor

this pull request #90 fixes the problem.

@idanlevi1
Copy link

I will look into it sometime

can you merge the PR? #90

@francistec
Copy link

Still having the same error

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

6 participants