Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

componentWillReceiveProps [Deprecated] #172

Open
Miyaguisan opened this issue Sep 10, 2019 · 0 comments
Open

componentWillReceiveProps [Deprecated] #172

Miyaguisan opened this issue Sep 10, 2019 · 0 comments

Comments

@Miyaguisan
Copy link

As of RN 0.6.x this new warning is showing:

Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

Please update the following components: CachedImage

Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks

I'm posting just to raise awareness. I'll see if I can get a PR going.
Cheers.

SimonDrew2018 added a commit to SimonDrew2018/react-native-cached-image that referenced this issue Sep 20, 2019
Deprecated componentWillRecieveProps - see kfiroo#172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant