DEV Community

Discussion on: If you use fetch() to make Backend API calls, you need to read this

Collapse
z0al profile image
z0al

Thanks for sharing. And by the way, if you like axios's API then you will definitely like this tiny fetch wrapper by Jason Miller: github.com/developit/redaxios

Collapse
stamper profile image
Alexander Toropov

this lib doesn't catch application/json header for now github.com/developit/redaxios/issu...
so I had some tough time trying to understand why my API response doesn't work
beware! BEEWAAAAAAARE!!111 =)