react-native-action-button
react-native-action-button copied to clipboard
depreciation issue: componentWillRecieveProps is depreciated
depreciation issue: componentWillRecieveProps is depreciated and will be removed in the next release warning pops up
react-native: 0.60.5
Looks like duplicate of #314 for now.
Haven't seen any movement on this project for awhile to indicate it might be resolved anytime soon?
You can use alternative this library https://github.com/santomegonzalo/react-native-floating-action . It is updated for depraceted lifecycle warning.
Should be taken care of in #333
Hello, does anynone know if there is a chance to get a release soon for this issue ? This component fits my need but the warning is really annoying. Thanks.
+1
Hey Guys, i know this solution is temporary but if you change your code with below code you can't see warning.
into node_modules/react-native-action-button/ActionButton.js
componentWillReceiveProps(nextProps) { .... }
to
UNSAFE_componentWillReceiveProps(nextProps) { .... }
Thank you. :+1:
Any update here on the release?
Apparently this issue is fixed in the latest version but not updated in npm.
Use this to get the latest version
npm install https://github.com/mastermoo/react-native-action-button
I followed @wniroshan's recommendation:
npm install https://github.com/mastermoo/react-native-action-button
Then I applied the fix for add explicitly - useNativeDriver: false, then I used patch-package to keep everything versioned.
This is still an issue. Is this library not maintained?
seems abandoned...
@gregfenton - this is a great tip to solve this issue. Thanks! Nice to have patch-package in the toolbelt =]