-
Notifications
You must be signed in to change notification settings - Fork 390
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 componentWillMount to componentDidMount before the next major version of React Native #375
Comments
See PR #376 |
i didnt create a pull request, but this is my index.js file fixed using componentDidMount and componentDidUpdate |
Could we get a fix for this? Seems like a simple change. |
using patch-package to fix this for now |
@usmansbk what is patch-package? |
it's an NPM package for patching things before official fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to React Native 0.60:
componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.
See documentation here.
Edit: add link to React Native documentation
The text was updated successfully, but these errors were encountered: