Part 1: JavaScript the Hard Parts: Promises, Async & the Event Loop

preview_player
Показать описание
Part 1 of JavaScript the Hard Parts: Promises, Async & the Event Loop video lecture with Samantha Salley, Lead Engineer at Codesmith.

During this workshop, you will learn how to master asynchronous JavaScript and promises! Our mental models of asynchronicity in javascript - the event loop, callback queue - are no longer enough. We have to augment them with the new world of native promises and async/await and understand them intuitively. In this session, we’ll do this so you can write readable code and debug effectively.

The workshop will cover:
- The challenge with single-threadedness in JavaScript.
- How asynchronicity enables much of modern web development
- The challenge with asynchronicity in JavaScript and how promises fix the problem of inversion of control

A combination of understanding promises and async/await under the hood and strategies for effective implementation will give you the tools to write clean pro asynchronous code in your work and projects.

Stay connected to our community!

Follow us to stay updated!
Рекомендации по теме
Комментарии
Автор

Knowledge + pedagogy = easy learning. Thank you.

mortalcoil
Автор

I've been struggling with async JS for ages, but watching this video has helped so much. Thanks for the great explanations Sam!

welium
Автор

Finally, I understand JS flow of execution !!! I have already watched many youtube tutorials on this complex topic but for the first time I understand, how all things happen under the hood !!!
Only because of your Lecture !!! awesome work Regard: Imran from Pakistan

kimse
Автор

This was my life saver today, thank you so much Samantha!

ashleychristensen
Автор

Great video! Thanks so much! :-) It definitely helped me!

franzisch
Автор

If you put "1000" to a setTimeout, when is the countdown actually starting? When setTimeout hits the callback queue, or after all synchronous code gets executed?

Robert-cwev
Автор

Helpful video, though I recommend running at 1.25 speed

rggg