question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why is axios used as a dependency instead of just using fetch?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tannerlinsleycommented, Jan 15, 2019

Not yet actually. It could be a non breaking change in this version though.

On Tue, Jan 15, 2019 at 9:13 AM James Messinger notifications@github.com wrote:

I’ve got it slated for next major version. 🤘

@tannerlinsley https://github.com/tannerlinsley - Was this ever done? Is there a way to replace the Axios dependency with another HTTP library or the browser’s built-in fetch API?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/nozzle/react-static/issues/300#issuecomment-454450291, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUmCfhRHYOUiEldDkEz5q6AYDr-IC1Bks5vDf4egaJpZM4Re5Hd .

0reactions
JamesMessingercommented, Jan 15, 2019

I’ve got it slated for next major version. 🤘

@tannerlinsley - Was this ever done? Is there a way to replace the Axios dependency with another HTTP library or the browser’s built-in fetch API?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Axios vs. fetch(): Which is best for making HTTP requests?
To send data, fetch() uses the body property for a post request to send data to the endpoint, while Axios uses the data...
Read more >
Difference between Fetch and Axios.js for making http requests
Axios has url in request object. Fetch has no url in request object. Axios is a stand-alone third party package that can be...
Read more >
Axios vs. Fetch API – Which is Better For HTTP Requests?
Fetch error handling differs significantly from Axios. The most important difference is that it doesn't reject a promise if we get an HTTP...
Read more >
Axios vs Fetch for Beginners
Fetch and axios are both promise-based HTTP clients. This means that when we use them to make a network request, they return a...
Read more >
Fetch vs. Axios.js for making http requests | by Jason Arnold
Axios is a Javascript library used to make http requests from node. js or XMLHttpRequests from the browser and it supports the Promise...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found