Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Use componentDidMount instead of componentWillMount #1809

Closed
bestatigen opened this issue Sep 21, 2018 · 1 comment · Fixed by #1815
Closed

Use componentDidMount instead of componentWillMount #1809

bestatigen opened this issue Sep 21, 2018 · 1 comment · Fixed by #1815

Comments

@bestatigen
Copy link

Warning

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: Camera

Steps to reproduce

  1. Use RNCamera in dev mode

Expected behaviour

Should change componentDidMount's to componentWillMount's.

Environment

  • React Native version: [email protected]
  • React Native platform + platform version: iPhone 6s 11.4.1

react-native-camera

Version: react-native-camera@^1.2.0

@tiero
Copy link

tiero commented Sep 21, 2018

Possible duplicate #1760

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants