
James Q Quick
チャンネル登録者数 20.7万人
39万 回視聴 ・ 11992いいね ・ 2021/06/10
Async/Await is a much cleaner syntax for working with promises than using .then(). Let's take a look at how to convert an asynchronous function from using .then() to using async/await and learn a few tips along the way.
00:00 - Intro
00:45 - Fetch Example with .then
01:30 - Convert Promises to Async/Await
04:40 - Use Try/Catch for Errors
06:30 - Async Functions Return a Promise
07:40 - Use IIfe for Top-Level Await
09:00 - Promise.all()
_____________________________________________
Newsletter 🗞
Interested in exclusive content and discounts? 🤯 Sign up for the newsletter!
www.jamesqquick.com/
_____________________________________________
Connect with me 😀
Live streams on Twitch - twitch.tv/jamesqquick
Follow me on Twitter - www.twitter.com/jamesqquick
Join the 💬 Discord Server 💬 - discord.gg/vM2bagU
_____________________________________________
COURSES 💻
Learn how to build Fullstack apps with React and Serverless Functions - www.jamesqquick.com/courses/react-and-serverless-f…
Learn everything you need to know about Visual Studio Code - www.udemy.com/learn-visual-studio-code/
Build a Quiz App - www.udemy.com/build-a-quiz-app-with-html-css-and-j…
コメント
関連動画

Asynchronous JavaScript in ~10 Minutes - Callbacks, Promises, and Async/Await
331,099 回視聴 - 4 年前

Asynchronous JavaScript Course – Async/Await , Promises, Callbacks, Fetch API
98,048 回視聴 - 10 か月前
使用したサーバー: direct
再生方法の変更
動画のデフォルトの再生方法を設定できます。埋め込みで見れるなら埋め込みで見た方が良いですよ。
現在の再生方法: 通常
コメントを取得中...