Learn Fetch API In 6 Minutes

preview_player
Показать описание
Accessing data from an API is one of the most common things you will do in web development, and the way to access APIs is with fetch. Fetch is function built into JavaScript that allows you to query any URL/API to get back data. The most important part is that fetch is asynchronous so it will run in the background and let you know when it finishes using promises. In this video I will show you exactly how to use fetch, and all of the common mistakes people make using fetch so you can get up and running in just six minutes.

📚 Materials/References:

🧠 Concepts Covered:

- What the fetch API is
- How to use the fetch API
- How to handle API response errors
- How to use JSON data with fetch

🌎 Find Me Here:

#Fetch #WDS #JavaScript
Рекомендации по теме
Комментарии
Автор

Be like Fetch, always succeed even when you fail

sergiearruda
Автор

Best 6 mins of YouTube that I watched today

ProgrammingwithPeter
Автор

Its so amazing that I have been struggling with promises and the fetch api all week, reading docs and trying to grasp it, then this video shows up and clears all my problems away. Forever grateful to you Kyle! You gained my support today!

bmac-czrk
Автор

100% the best JS videos I've found on Youtube. You got me hooked with the Promise video, and now here we are! Thank you!!

alexzimmerman
Автор

Man! This is really web dev simplified! I enjoyed this video so much and it clarifies everything!

Автор

This channel is really helpful for people like me who had studied some web stuff before but didn't keep in touch with it. I really don't want to go over hours of lectures studying what I already know but have forgotten. Great resource. <3
P.S. - If you are a beginner who is trying to get stuff done fast and trying to find a shortcut, don't. Be thorough with the fundamentals even if it consumes a lot of your time.

sajaljaiswal
Автор

the mighty solution for every problem you are actually one of the best people who explain the problem or teach others in fantastic way which make the listener not only know the answer but to understand the details thank you I wish the best to you

abdelazizelshrkawy
Автор

recently got into this channel and watching your recent videos compared to something older its amazing how far you've come. thank you for everything sensei

rishabbhattachaya
Автор

At last someone who explains the reason behind every action. Most of the instructors just want us to copy paste and do not explain why we need to do sth, and what is the meaning of the action. Great Job 👍

plaguegames
Автор

Simple, clear and straight to the point. Excellent video.

marlish
Автор

Great video, much better than reading the documentation. One thing that would also be interesting is if you showed how to use async and await with fetch. Keep up the good work :)

noveltechmedia
Автор

Your videos are invaluable, the direct effect you are having is bringing novice developers up the notches to an intermediate / advanced level. I have been using the fetch() method for a while now, but the in depth analasyis lets me connect the dots, enables me to become a better developer. Keep on going!

petertester
Автор

Man, I lost hours today following a tutorial that has a mistake (or lack of explaining) but this was awsome to understand and follow along.
I made a post in my personal blog linking back to you.
Great content!!

scyfox.
Автор

Sometimes it takes someone to use slightly different words in order for the explanation to land. I think you have a gift. Well done on this video, and step by step explaining the double promise in fetch. Also, simply by saying "you can use asynce/await OR then" you put so much clarity into my mind. Keep going.

StefanVanderVyver
Автор

Took 6 minutes and now I can use Fetch for all of my JavaScript projects. Thank you!

kvncnls
Автор

Dude, youre a life saver. Best Channel for Webdevelopment on Youtube.

SuperQuwertz
Автор

since I have college and programming is something I do on the side, I never really have enough time to learn about this stuff. But this 6-minute video was just what I needed, short and straight to the point while also managing to explain what everything does. Thanks so much!

lidestudios
Автор

Glad I found you. Never stop making these. Thanks :)

haseebpavaratty
Автор

Really appreciate your videos man, so thankful for you giving them away for free. I'm already enrolled in another course, but if I'm not satisfied with what I'm going to learn about react I'll check out your course on that - I like the way you describe things so it's easy to understand of how it all comes together.

alexlindgren
Автор

I just wanted to say thank you so much for helping me understand these concepts in such a simple manner!

Ipdxcreative