---
title: "Discussion on \"Axios vs. Fetch: which should I use?\" | Hashnode"
description: "Discussion on \"Axios vs. Fetch: which should I use?\". When we enter the world of computing, there are so many packages, options and paths to follow that it is normal to feel a little lost.\nFor example, when we are making HTTP requests, which way should we go? In this post, I will cover the  Axios  libra..."
url: "https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Axios vs. Fetch: which should I use?](https://luisarbezerra.com/axios-vs-fetch-which-should-i-use?utm_source=hashnode&utm_medium=feed)

When we enter the world of computing, there are so many packages, options and paths to follow that it is normal to feel a little lost. For example, when we are making HTTP requests, which way should we go? In this post, I will cover the Axios libra...

Nov 24, 2020 · 5 min read · luisarbezerra.com  
Updated Apr 17, 2021  
Read the article

-   [#axios](https://hashnode.com/tag/axios)
-   [#fetch](https://hashnode.com/tag/fetch)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

@luisarbezerra · Madrid, Spain

  
[View profile](https://hashnode.com/@luisarbezerra)

Software Engineer

## Responses 15

Markdown supported · ⌘↵ to post

[Julio Polo](https://hashnode.com/@perico)

[Apr 22, 2021](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/6080c126eb2bd30d2d22e45f)

Great article Luisa, my only concern about Axios is that some time ago I read that it wasn't being maintained which could be problematic. But it's a cool and tested library.

[Thintinos Gerardo Vodonou](https://hashnode.com/@Thintinos)

[Nov 28, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fc2466d29ee3663480c9d52)

Great post! Thank you for sharing.

[Yann Thibodeau](https://hashnode.com/@yann510)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbfb85406727f3ebc094d22)

Very interesting article, my friend and I just were just debating about that recently and as I can see we made the right decision to go with axios ;)

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 27, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbfb85406727f3ebc094d22#reply-5fc04def7f8d06480aa0eaf4)

ohhh thanks <3 good to know that!

[Don Alfons](https://hashnode.com/@itsdonnix)

[Nov 30, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbfb85406727f3ebc094d22#reply-5fc4d87abc24037614df9126)

I also have the same situation but as expected if its just about security and compability

[Carlos Carneiro](https://hashnode.com/@cac)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbfa94e06727f3ebc094b3b)

O artigo ficou bem didático e direto ao ponto. Parabéns Luisa!

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbfa94e06727f3ebc094b3b#reply-5fbfb5dd06727f3ebc094cd3)

Obrigada, Carlos!! :)

[Yair Cohen](https://hashnode.com/@yaircohen)

[Nov 25, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbdc1bee740f128ad38c63d)

Great article:) Thank you

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbdc1bee740f128ad38c63d#reply-5fbfb5e81a95c63e9c0f4870)

Ty :D

[William Hall](https://hashnode.com/@william329)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd9b94e740f128ad38c56a)

Great first article Luisa. Thank you

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd9b94e740f128ad38c56a#reply-5fbfb5ec1a95c63e9c0f4874)

Thanks!

[Chris Bekas](https://hashnode.com/@chrisbekas)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd8322daba2d288c551885)

Thanks for sharing, I'm leaning towards Axios now!

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd8322daba2d288c551885#reply-5fbfb5c906727f3ebc094cc8)

Thank you and good and enjoy your studies!

[Mohammed Nokri](https://hashnode.com/@nokri-mohammed)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd323430fc2d1b859e39e0)

Amazing job! 👌🏼 Great article!

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd323430fc2d1b859e39e0#reply-5fbfb59f06727f3ebc094cc0)

Thanks, Mohammed! :)

[Bob Fornal](https://hashnode.com/@rfornal)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd253b30fc2d1b859e38cc)

Great article.

I've used both for various projects. Your insights confirm a lot of the things that I've been thinking about.

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd253b30fc2d1b859e38cc#reply-5fbfb59106727f3ebc094cb9)

Thank you, Bob!

[Denis Salazar](https://hashnode.com/@desalazar)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd1dbd30fc2d1b859e3810)

Well Written :)

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbd1dbd30fc2d1b859e3810#reply-5fbfb58206727f3ebc094cb5)

Thank you :D

[Lee Hansel Solevilla](https://hashnode.com/@sshanzel)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbcb0c630fc2d1b859e2de6)

I think you are comparing two different things here. Axios is a library while Fetch is a native function on modern browsers. It will always be performant to use native functions but a library will always be easier to use due to its abstractions.

I think it would be better if you will be comparing Axios vs another library that abstracts HTTP Calls, or comparing Fetch vs XHTTP.

Good story though.

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbcb0c630fc2d1b859e2de6#reply-5fbfb55b1a95c63e9c0f485f)

Yeah the main idea about comparing both of them is because they are quite different, I think :)

But I got your point! Thanks for the feedback!

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbca609ec43af1ba609407a)

I can say for a fact that it's finally good to know the reasons behind using one over another. In my case, I just went with using Fetch because Axios seemed really hard for me to grasp.

Interesting article [Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra).

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbca609ec43af1ba609407a#reply-5fbfb4ff1a95c63e9c0f484b)

Thank you, Edidiong! :D

[Suyash Pradhan](https://hashnode.com/@suyashpradhan)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbc957b30fc2d1b859e2aeb)

Well Written!

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbc957b30fc2d1b859e2aeb#reply-5fbfb50906727f3ebc094c96)

Thank you :)

[Stela IS](https://hashnode.com/@stelais)

[Nov 24, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbc7e5dec43af1ba6093c6d)

Thank you so much for this article, it is exactly what I needed. I am definitely copying you, and trying Axios. An excellent review for beginners :)

[Luísa Ribeiro Bezerra](https://hashnode.com/@luisarbezerra)

[Nov 26, 2020](https://hashnode.com/posts/axios-vs-fetch-which-should-i-use/5fbc776b30fc2d1b859e29a1/comment/5fbc7e5dec43af1ba6093c6d#reply-5fbfb6131a95c63e9c0f487b)

Thank you, dear :) <3
