Hello community! I come with what I consider an interesting question because I continue to see the Axios library referred a lot everywhere, even in simple samples, as opposed to the standardized
fetch() function which is now also available in NodeJS v18.
My question for you all is: Why do you (or others, in your opinion) continue to prefer Axios over
fetch()? I am no front-end developer, so pardon my ignorance if it is a big thing I am unaware of. Yes, I do my backend mostly in ASP.net.
I'll try to compile all your answers here by editing regularly as people respond.
Ok, so let's start tabulating things:
|Master configuration (headers and such)||❌||✔️|
|People used to Axios||❌||✔️|
|No extra library (still needs wrapper)||✔️||❌|
|1-step JSON response||❌||✔️|