react-native-switch
react-native-switch copied to clipboard
ComponentWillReceiveProps is depreciated and will be removed in the next major react native version
Describe the issue
ComponentWillReceiveProps is depreciated and will be removed in the next major react native version.
Expected behavior
Update library code to use getDerivedStateFromProps
Dependencies versions:
- react: 16.8.6
- react-native: 0.60.5
Same issues here.
the code on GitHub doesn't use it anymore, but the npm module hasn't been updated yet
@shahen94 any bump version planned ? 🙂