Q. What is the significance of the dependency array in useEffect?
β
Correct Answer: (A)
It determines when the effect should re-run
Explanation: Effect runs again only if dependencies change.