DEV Community

Marius Espejo
Marius Espejo

Posted on • Updated on

 

React.js: How To Get Data From An API With Hooks and Axios

In this video I talk about the basics of making an API or HTTP request in a React.js application. I show examples of utilizing state and effect hooks, and how to manage loading and error states while making API requests with axios.

If you have any feedback, good/bad would love to hear it!

Latest comments (0)

Visualizing Promises and Async/Await πŸ€“

async await

☝️ Check out this all-time classic DEV post on visualizing Promises and Async/Await πŸ€“