DEV Community

Discussion on: You Don't Need Axios

Collapse
 
barrymichaeldoyle profile image
Barry Michael Doyle

I used to have this opinion that axios wasn't worth using over fetch. But lately I've found that it has some nice middleware features that fetch doesn't have. So I'd say it isn't worth throwing out just yet.

I guess it all just depends on how you use it in the end. If you're not using some of those special axios features then by all means don't add it as a dependency to your project when you can just use fetch.

Collapse
 
ngfizzy profile image
Olufisayo Bamidele

I completely agree with you that some large-scale projects especially the ones that require heavy file uploads will still benefit much from axios.

Earlier this year, I took over a project and I was kindof irritated by the fact that the original developer used just fetch. I thought it would end up being a problem for me along the line but after many months, I completely stopped missing axios. This is what inspired this article.

Collapse
 
barrymichaeldoyle profile image
Barry Michael Doyle

Ok yeah that makes a lot of sense! Thanks for sharing :)

Some comments have been hidden by the post's author - find out more