Tagged in

Nodejs

Devinder
Devinder
Individual contributor to JavaScript which I have learnt in around last 5 years.
More information
Followers
22
Elsewhere
More, on Medium

Why API call is recommended in componentDidMount()

It’s good to have basic knowledge of Event Loop, Component lifecycle methods and Virtual DOM for better understanding of this article.

For an end user the expected behavior is the site load with proper data in first…