What is the purpose of the useContext hook in React Native?
The useContext hook in React Native is used to access the value of a context object that has been created using the Context API. It allows functional components to consume context values without needing to wrap them in a higher-order component.