What is the purpose of the componentWillReceiveProps method in React Native?
The componentWillReceiveProps method in React Native is called when the component receives new props from its parent component. It is often used to perform actions such as updating the component's state based on the new props.