The JavaScript Tool I'm using to demonstrate:
https://runjs.app/ColorCode
ColorCode Etsy Merchandise store:
https://www.etsy.com/shop/ColorCodeStore
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/ColorCodeStore?ref=profile_header
Episode 11: Asynchronous JavaScript:
https://youtu.be/QSqc6MMS6Fk
Episode 12: JavaScript Promises:
https://youtu.be/TnhCX0KkPqs
JavaScript Promises in 1 Minute:
https://youtube.com/shorts/Yg1Wf_rFG7Q
Using Await without Async in JS Modules (MDN):
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
Full playlist here: https://www.youtube.com/playlist?list=PL1PqvM2UQiMoGNTaxFMSK2cih633lpFKP
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