Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Warning: componentWillMount/ componentWillReceiveProps deprecated #135

Open
SnehalAgrawal opened this issue Aug 16, 2019 · 1 comment
Open

Comments

@SnehalAgrawal
Copy link

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

@andy-asi
Copy link

you can use:
#152

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants