react-native-switch icon indicating copy to clipboard operation
react-native-switch copied to clipboard

ComponentWillReceiveProps is depreciated and will be removed in the next major react native version

Open amrlabib opened this issue 6 years ago • 3 comments

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

amrlabib avatar Sep 01 '19 08:09 amrlabib

Same issues here.

dev3288 avatar Sep 09 '19 16:09 dev3288

the code on GitHub doesn't use it anymore, but the npm module hasn't been updated yet

jeromediaz avatar Oct 04 '19 19:10 jeromediaz

@shahen94 any bump version planned ? 🙂

RichardFevrier avatar Jan 09 '20 09:01 RichardFevrier