Open jeffraux opened 4 years ago
See PR #376
i didnt create a pull request, but this is my index.js file fixed using componentDidMount and componentDidUpdate index.zip
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?
@usmansbk what is patch-package?
it's an NPM package for patching things before official fix.
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