React Native Component Lifecycle

What is the purpose of the useEffect hook in React Native?
Next Question (20/20)