Data fetching in our React SPA
To fetch data inside a react component, we primarily need 2 things:
Source
Consumer
The source can be a REST or GraphQL endpoint.Consumer in our case is a browser-based application.
A common pattern with React apps fetching data without using a 3...
rohanbagchi.hashnode.dev5 min read