Async Await vs. Promises - JavaScript Tutorial for beginners

Pubblicato il: 03 gennaio 2023
sul canale di: ColorCode
75,878
3.5k

JavaScript Async Await, how to use them with Promises, and more importantly why?! This is episode 13 of 20 things Javascript Developers Should Know But Probably Don't.

00:00:00 Intro
00:01:04 How Promises work
00:02:18 Await!
00:04:00 Async!
00:05:55 Async/Await vs. then block
00:07:12 Real example with fetch()
00:10:58 6 important points about Async/Await
00:14:20 Error Handling with try/catch
00:20:49 Final thoughts on Async/Await
00:21:22 20,000!
00:21:45 ColorCode Podcast
00:22:22 ColorCode Merchandise Store 👕
00:22:38 New website
00:22:59 YouTube Shorts
00:23:12 Update on JS Mastery Course

Links mentioned in the video:

ColorCode Etsy Merchandise store:
https://www.etsy.com/shop/ColorCodeSt...

Episode 11: Asynchronous JavaScript:
   • Async JavaScript & Callback Functions...  

Episode 12: JavaScript Promises:
   • JavaScript Promises  -- Tutorial for ...  

JavaScript Promises in 1 Minute:
   • JavaScript Promises 👨🏻‍💻in 1 Minute #...  

Using Await without Async in JS Modules (MDN):
https://developer.mozilla.org/en-US/d...

Full playlist here:    • 20 Things JavaScript Developers Shoul...  

JavaScript Promises from the series "20 Things JS Developers Should Know but Probably Don't"
by ColorCode.io, Sina Jazayeri

** Announcement **
Full JavaScript Mastery course is coming! Details at the end of the video. Sign up for Early Access here:
https://www.colorcode.io/js-mastery


In questa pagina del sito puoi guardare il video online Async Await vs. Promises - JavaScript Tutorial for beginners della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ColorCode 03 gennaio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 75,878 volte e gli è piaciuto 3.5 mille spettatori. Buona visione!