xotahal / react-native-material-ui

Highly customizable material design components for React Native
MIT License
3.78k stars 611 forks source link

IconToggle: componentWillReceiveProps() deprecated #471

Open mzu opened 4 years ago

mzu commented 4 years ago

Thought I should let you know:

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

Please update the following components: IconToggle

areebvohra commented 4 years ago

i am also having the same problem with componentWillReceiveProps lifecycle when will this be solved?

fmsthird commented 3 years ago

any update on this? @mzu @AreebVohra , were you guys able to solve this?

mzu commented 3 years ago

any update on this? @mzu @AreebVohra , were you guys able to solve this?

@fmsthird I am not using this anymore, so I don't really know if this has been sorted or not.

fmsthird commented 3 years ago

Thanks for your response @mzu , I managed to fix it myself. I forked the repo and run npx react-codemod rename-unsafe-lifecycles