Pregunta de entrevista de V2 Technologies

Why dependency array is important for useEffect