React — Why do we have to make API call in useEffect?
📰 Medium · JavaScript
This article is intended to understand the reasons behind making API calls in useEffect over useState where we can initialize the state. Continue reading on Medium »
This article is intended to understand the reasons behind making API calls in useEffect over useState where we can initialize the state. Continue reading on Medium »