Why you should design a good API

The term API stands for Application Programming Interface.  An API works as a middleman, taking the request from one piece of software, and then replying with the appropriate response from the other. APIs work quietly in the background, making the interactivity we expect For example – Order a pizza, hotel booking, post on social media (facebook, twitter) etc..

Why good APIs are important? 

Continue reading Why you should design a good API

AJAX call in React

AJAX stands for Asynchronous JavaScript and XML. It is a technique used to make webpages faster to use and more interactive.

React itself doesn’t have any allegiance to any particular way of fetching data. React simply renders components, using data from only two places: props and state. To use some data from the server, you need to get that data into your components’ props or state.

So, How can you make an AJAX call in React?

Continue reading AJAX call in React