react-native-image-gallery icon indicating copy to clipboard operation
react-native-image-gallery copied to clipboard

Warning: componentWillMount/ componentWillReceiveProps deprecated

Open SnehalAgrawal opened this issue 5 years ago • 1 comments

Hello Admin, Can you please updated for the following warnings.

  • Warning: Failed prop type: Invalid prop initialPage of type string supplied to Gallery, expected number.

  • Warning: Failed prop type: Invalid prop initialPage of type string supplied to ViewPager, expected number.

  • 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 type number supplied to CellRenderer, expected string.

  • 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

SnehalAgrawal avatar Aug 16 '19 22:08 SnehalAgrawal

you can use: https://github.com/archriss/react-native-image-gallery/pull/152

andy-asi avatar Dec 28 '20 17:12 andy-asi