Skip to content

Conversation

loveakinlesi
Copy link

Specify the useNativeDriver option explicitly as false on Animated.timing() as required by warning. Refer to Animated doc.

Solving this raises another warning. So rename componentWillReceiveProps to componentDidUpdate as neither componentWillReceiveProps nor UNSAFE_componentWillReceiveProps is not advised by react due to bugs and inconsistencies.

Specify the <code>useNativeDriver</code> option explicitly as <code>false</code> on <code>Animated.timing()</code> as required by warning. Refer to [Animated doc](https://reactnative.dev/docs/animated).

Solving this raises another warning. So rename componentWillReceiveProps to componentDidUpdate as neither [componentWillReceiveProps nor UNSAFE_componentWillReceiveProps is not advised by react due to bugs and inconsistencies](https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops).
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

Successfully merging this pull request may close these issues.

1 participant