4 ms·
What do you mean by winning? As in usage? Axios has many nice features (such as interceptors) and I think is just better than fetch, other than the fact that y
by redox99 5y ago
What do you mean by winning? As in usage?
Axios has many nice features (such as interceptors) and I think is just better than fetch, other than the fact that you need to add a few KB to your bundle of course.
- cyco130 5y agoYes, I meant usage. I agree axios has many nice features but fetch comes with 90% of what you need for free. Also, its API is spreading on the "other side" too. Service workers, worker runtimes (Cloudflare etc.) and Deno all use the fetch API for handling requests (as opposed to sending them).