useEffect

What is the primary purpose of the useEffect hook in React?
Next Question (7/22)