In general, I see that API call operations are done in the useEffect hook in projects made with react. As a result of my research, I saw that API call operations are not recommended to be done in useEffect(). Why do developers make API calls in useEffect?
Where do you guys make the API calls?
Top comments (0)