Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Web Technology by (45k points)

Could someone tell me what is Axios in React?

1 Answer

0 votes
by (99k points)

Axios could be defined as the library that is used to make HTTP requests to the external resources. Let’s say you built a React application, now, as we know, applications do require data from external sources, so that it could be displayed using API’s. Now, in this situation you could use Fetch to extract data, but since Fetch is not so great as compared to Axios, which is better than Fetch and also, supports old browsers along with added benefits. So, you could sum up Axios as a library that is designed to handle HTTP requests and their responses, better than what Fetch could do.

If you wish to master React, then check out the React training course, from Intellipaat. Which is an industry-aligned training course which provides guided projects to help you become practically skilled in using React. And also, I would like you to watch our YouTube video on ReactJS for Beginners.

 

Related questions

0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)
0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)
0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)
0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)
0 votes
1 answer
asked Feb 15, 2021 in Web Technology by dev_sk2311 (45k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...