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.

If I am not mistaken your library is using axios is it possible to have support for fetch API?

Thanks

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
yevmorozcommented, Mar 6, 2020

@Khaledgarbaya axios support doesn’t look too good (I would even say quite bad), despite it being “all-time awesome library”. This has been raised by many people externally and as issue on axios issue page, see following https://github.com/axios/axios/issues/1965.

Of course there are alternatives like https://github.com/googleapis/gaxios, but that just takes focus away from root problem:

  • contentful.js library should not force to use one and only http library but rather suggest it and provide API to inject custom http library, either it’s fetch, axios, gaxios or whatever will become popular in 2020.
  • axios not being maintained/supported - yields more and more security issues overtime Please consider this as a fair warning and reasonable concern. Thank you!
1reaction
mendrikcommented, Mar 29, 2021

in general there should be a way to customize which library one wants to use. some simple adapter for each library can be easily written, I for one would love to get it working with https://github.com/sindresorhus/got

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Get In Touch With Us - Fetch Package
We're here to answer any questions you have or to assist you in anyway needed. Just tell us more about you and we'll...
Read more >
Fetch | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >
Customer Support Information – Fetch
Our Customer Support Team is here to help you with whatever problem you may run into. ... Fetch Help Center home page ......
Read more >
Fetch API - MDN Web Docs
The Fetch API provides an interface for fetching resources ... whether it's for service workers, Cache API, and other similar things that ...
Read more >
Fetch Support - Fetch Softworks
We're here to help! You may find the answer you need among our Frequently Asked Questions (FAQ). The Message Board is the place...
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