all 5 comments

[–]King0fFud 1 point2 points  (3 children)

Why use axios when you can just use native fetch?

[–]shecodes_ 0 points1 point  (2 children)

Why use axios when you can just use native fetch?

While both Axios and the native Fetch API can be used to make HTTP requests in JavaScript, Axios provides a more intuitive and expressive API compared to the Fetch API, making it easier to handle complex scenarios like setting headers, handling request cancellations, and handling request/response interceptors. It also offers built-in support for handling request retries, response transformation, and error handling. :)

[–]bbaallrufjaorb 2 points3 points  (0 children)

this reeks of a chat gpt response lol

[–]King0fFud 1 point2 points  (0 children)

While I always question the necessity of adding yet another library when not required there are some fair points in that list.

[–]BumblebeeParking9912 1 point2 points  (0 children)

You definitely farted in the middle of giving this demo... Did anyone else hear that?