[React v16.8.4] Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
kufii opened this issue ยท 12 comments
When running with the latest version of React, the following warning is thrown:
componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Estou com o mesmo erro
Any solution?
I hope the owner of this repo could tweak a little bit to get it updated...
any solution yet?
I tried changing "componentWillReceiveProps" to "UNSAFE_componentWillReceiveProps" inside "react-native-action-button/ActionButton.js" and I think it works just fine. The react-native-vector-icons which doesn't works before, works fine also after changing it.
Any fixes about this error?
I tried changing "componentWillReceiveProps" to "UNSAFE_componentWillReceiveProps" inside "react-native-action-button/ActionButton.js" and I think it works just fine. The react-native-vector-icons which doesn't works before, works fine also after changing it.
This works for me
I tried changing "componentWillReceiveProps" to "UNSAFE_componentWillReceiveProps" inside "react-native-action-button/ActionButton.js" and I think it works just fine. The react-native-vector-icons which doesn't works before, works fine also after changing it.
This is working fine. Not sure if everyone is getting this warning to make a PR about it
When will NPM be updated?