Explain all dependency array scenarios in the useEffect hook | useEffect | react Interview Questions | NextRound.in