you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 7 months ago (2 children)

I was trying to figure out why people still use Axios, when the built-in fetch works just fine. Is it because people are still sending XML requests?

  • source
  • hideshow 2 child comments
  • [–] 10 points 7 months ago*

    It provides a lot of nice syntactic sugar that you would otherwise have to write a wrapper for on top of Fetch. Built in request interception, request transformation, (de)serialization, shared request config, timeout/retries management, ...

    Though this definitely comes with bloat and supply chain risks.

  • source
  • parent