Why fetching data inside effect is not prescribed? | useEffect | react Interview Questions | NextRound.in