Запитання 13
What does the dependency array of useEffect control?
Варіанти відповідей
It controls when the effect re-runs by specifying variables to watch for changes; an empty array runs once after mount.
It determines the order in which multiple useEffect hooks execute.
It stores the effect’s cleanup function.
It limits how many concurrent effects can run at the same time.