this post was submitted on 31 Mar 2026
27 points (82.9% liked)

Programmer Humor

30700 readers
2242 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] Sv443@sh.itjust.works 6 points 1 day ago

If you just use it as a substitute for fetch, then yeah, there's no point.
Axios has some extra error handling stuff, automatically parses JSON, has interceptor hooks to create "request loadouts", throws on 4xx and 5xx errors, has a builtin way of timing out requests, and can even do some nonstandard stuff like sending a body on GET requests.