meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Why do people still use Axios over Fetch?

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.9 • 1.2K Ratings

🗓️ 2 May 2022

⏱️ 19 minutes

🧾️ Download transcript

Summary

In this Hasty Treat, Scott and Wes talk about why people still use Axios over Fetch, and why people wouldn’t use Axios. Linode - Sponsor Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started. Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up. Show Notes 00:22 Welcome Twitter thread of questions from listeners 01:25 Sponsor: Linode 02:07 Sponsor: Sentry 03:04 What’s Axios? Syntax 224 - Serverless Cloud Functions 04:10 Why someone wouldn’t use Axios? 07:06 Interceptors 09:30 Catching expired JWT and renewing it 10:26 Upload or download progress events 12:03 Valid status API 13:45 Defaults 15:32 Custom timeouts Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Transcript

Click on a timestamp to play from that location

0:00.0

Monday! Monday! Monday! Open wide dev fans! Get ready to stuff your face with

0:07.0

JavaScript CSS! Node modules! Barbecue tips! Get workflow! Break dancing! Soft skills!

0:12.0

Web development! The hastiest! The Carrazius! The tastiest! Web development

0:17.0

treats! Coming in hot! Here is Wes Barakuda! Boss and Scott El Torro Lugo!

0:24.0

Tolinsky!

0:27.0

Welcome to Syntax! In this Monday hasty treat, we're going to be talking about Axios and why

0:33.0

people still use Axios over Fetch. Instead of Fetch, I should say. So, my name is Scott

0:39.0

Tulinsky. I'm a developer from Denver, Colorado, and with me is always the Axios user of the

0:44.0

two of us, Wes Boss.

0:46.0

Hey! Excited to talk about this.

0:50.0

I'm of the specific mind of the type of person who is looking at this episode and being

0:56.0

like, yeah, why? Why do people use Axios over Fetch? Because we've only ever used Fetch.

1:01.0

I'm very used to Fetch, and I don't do a ton of complex stuff with it, but at the same time,

1:07.0

I don't necessarily have any problems. So, I'm interested in hearing what exactly the

1:11.0

use cases here, why it's better, all of those lovely things. But before we get into that, let's talk about

1:16.0

two of our amazing sponsors, two companies that have been sponsoring us for a long time

1:21.0

now, and some of our favorite services out there. We have Linode and Century. Wes, do you want

1:26.0

to talk about Linode?

1:28.0

Linode is Cloud Computing that developers trust. It's awesome. If you have a JavaScript developer

1:34.5

listening to this episode, you want to host that app that you just built somewhere while

1:39.0

Linode offers VPN, or VPS, sorry, virtual private servers. You can spin up a Linux server.

1:45.5

You can use some of their pre-made node versions, or you can just spin it up, and you have

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.