Flow Control in JavaScript is hard! Native Promises in JavaScript have helped immensely, but the syntax is still a little callback-y. With Async + Await, we can write synchronous looking code without losing any of the benefits of JavaScript’s asynchronous nature.
Wes Bos explores how async + await works, best practices for flow control, and explores several solutions for handling errors.
Filmed at https://2017.dotjs.io on December 1st in Paris.
You can follow Wes Bos on Twitter: https://twitter.com/wesbos
This talk is under the creative commons license. freeCodeCamp is not associated with this talk. We’re just excited to bring more exposure to to it!
—
Learn to code for free and get a developer job: https://www.freecodecamp.com
Read hundreds of articles on programming: https://medium.freecodecamp.com
And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
source
Thank you! Nice speech!
Great to have Wes Bos for a talk!
Wow wesbos yay! I just realized this was almost 4 months back! Damn I've come so far with JS already
This is exactly what I needed to learn today! Thank you!
Loved the express bit. Thanks!
Amazing talk, I really like async / await but the error handling seems too ugly to me so generally I prefer promises
Thanks Wes!
Very nice
This is the best async await video to this day, I'm not even exaggerating.
Wicked
One of the best JS teachers
The fonts of the code is awesome,what kind of the font is ,who knows?
gotta love that Cobalt2
This guy cannot really code, but can read
great
that intro could probably pop a speaker… it is horrible sound 🙁
6:18 that's the way to enjoy coding 🙂 — Chick
Thanks a lot wesbos
brilliant
Finally, I get it! Thank you, Wes!
Wes is brilliant async/await not so much…
Great shoutout to Wes Bos for a brilliant and clear explanation
The elephant in the room is that when you have to wait for data before doing some processing then it doesn't matter how "performant" your code is.
Wes Bos is a great speaker, he makes it so simple and explains it so well
This is real Gem.
Wes is cool! 🙂
14:12 someone is sleeping
Very helpful! Thanks! Loved it! 🙂
Thanks
A S I N K
very amazing talk, i loved it so much. thank you
Why they are sleeping?
0:33 a sink, a weight
how to get the slides? love it
Thanks WesBos, You really are a boss.
when I see this name [Wes Bos], I am like I need to watch the video 🔥🔥🤣🤣
Just write this thing today in my code from stackoverflow and wanted to know about this …and guess what youtube recommend me this
Starting this video, I had 70% confidence with async-await; after watching it my confidence is 42.6%
I still can't get over the fact that some people are laying in audience
thank you brother you helped me a lot
05:07 aysync await
What a beautiful stage. 🌿 Even his slides are aesthetically pleasing.
in the beginning, you said JavaScript does not wait, is it JavaScript or Node Js is non-blocking nature?
Best proceeding
Sup
audience are too spoiled!
There's a chick in the crowd about to say "can you keep it down cause I'm trying to sleep here?"
Every F-ing video on this subject i watch i find 1000s of comments saying how they finally understood this. And i feel like the only one stupid mofo who doesnt and is incapable of doing it.