mastermoo/react-native-action-button

[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

kufii commented

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 #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?