useEffect

What is the purpose of the dependency array in the useEffect hook?
Next Question (14/22)