Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What happens if the dependencies array is empty in the useEffect hook?
dependencies
useEffect
The effect runs every time the component updates.
The effect never runs.
The effect runs continuously in an infinite loop.
The effect runs only once when the component mounts.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!