Coding task · JavaScript and React course · Module 11: Data Fetching and APIs

Practice: Axios - Fetching Data

Use Axios to fetch a list of planets from an API. Create an axios instance with baseURL and timeout, then fetch data in useEffect.

Task

Fetching data with Axios