JavaScript Async Await

preview_player
Показать описание
One of the hardest things about writing good JavaScript is dealing with heavily nested asynchronous code. Promises were created to solve the problem with callback hell, but there are still plenty of nested problems related to promises. This is where async/await comes in. JavaScript added async/await to allows developers to write asynchronous code in a way that looks and feels synchronous. This helps to remove many of the problems with nesting that promises have, and as a bonus can make asynchronous code much easier to read and write. In this video I am going to explain what async/await is and how to use async/await to rewrite your existing promise based code.

Learn Promises First:

Async/Await Article:

Twitter:

GitHub:

CodePen:

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

I showed this video to my crush and she's my wife now. I'm grateful, thanks for sharing this video with us.

muhammadsafiullah
Автор

This is definitely one of the best, simplest explanations I've seen of async/await. Thank you!

rebelmachine
Автор

Man, I cannot tell how good you explain. The best part is that you explain the WHY of the things that happen. Really, amazing work

maximofernandez
Автор

Dude.. async/await and promises had scared me for years.. uve made me understand them in 17 mins.. much much appreciated...

TheMr
Автор

People like you are why I love the JavaScript community. I still hate the language, but I love this community. Thanks for posting this!

OfChaoticReign
Автор

I'm in a web dev bootcamp currently and you're videos are amazingly helpful, thanks so much.

woehrle
Автор

This guy about to single-handedly help me pass my web programming class. Super easy to understand

rachelf
Автор

I've been watching all your videos. Nobody else on youtube has coding videos so succinct and efficient to watch. Thank you for valuing the time of your viewers!

evanoshea
Автор

I like how you go straight to the point. Thanks

franciscopena
Автор

I don't comment usually but this video is on another level. Spent hell lot of time understanding promises and async-await and after watching this video I am feeling like how foolish I was not to understand this simple concept 😂

prathameshyadav
Автор

this is something I have struggled with for ages and just followed what I was told on tutorials without knowing what I was properly doing. I had a vain hope that one day it will fall into place. This video is what I needed.

dougiehawes
Автор

From callbacks to promises and then to async and await. Beginners like me often confused with this three. Thanks for making this three more clear. 👏

ranellabjata
Автор

Even thou you speak fast, somehow I can completely grasp the topic. The name of the channel is right on point. Keep it up : )

justmeldin
Автор

I've watched videos on this concept and read several articles on it, none explains it as simply as this video. Thank you, and keep up the good work!

dondxniel
Автор

this is what i was looking for simple elegant explanation.

jonayedmohiuddin
Автор

web dev Simplified and dev Ed this 2 guys literally taught me everything

codewithbishal
Автор

Excellent job! A good example to explain all we need to know about it in a few minutes. No gimmicks, no blabla. Please keep going!

christianmaoro
Автор

You take a concept, boil it down into its essence and explain it using the most basic and easy to understand example. Incredible videos. By far the best channel on YT for this.

snowplow
Автор

I've watched a few of your videos as I've come across them over the last few weeks. You consistently do a very good job of explaining things. Thanks!

jeffricks
Автор

Thanks Sir, I appreciate the way you've made it look it simple. Now my fears are gone.. I will use Promise and Async Await in my projects.

pastorfred