react-native-action-button
react-native-action-button copied to clipboard
[React v16.8.4] Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
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?
can somebody test this pull request https://github.com/mastermoo/react-native-action-button/pull/329?
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.
Should be fixed with #333
Should be fixed with #333
npm no update? Still fetching 2.8.5
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?