Warning: componentWillMount/ componentWillReceiveProps deprecated
SnehalAgrawal opened this issue · comments
Hello Admin, Can you please updated for the following warnings.
-
Warning: Failed prop type: Invalid prop
initialPage
of typestring
supplied toGallery
, expectednumber
. -
Warning: Failed prop type: Invalid prop
initialPage
of typestring
supplied toViewPager
, expectednumber
. -
Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.
Please update the following components: Gallery, ViewPager -
Warning: Failed child context type: Invalid child context
virtualizedCell.cellKey
of typenumber
supplied toCellRenderer
, expectedstring
. -
componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.
Please update the following components: TransformableImage, ViewTransformer -
Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.
Please update the following components: TransformableImage