Understanding Asynchronous JavaScript

preview_player
Показать описание
Each time you need to access data or load a resource from a server in JavaScript, you enter the realm of asynchronous code. This holds true whether you use an Aura action, a Lightning web component wire, an XHR call or a Fetch call. Watch this session to get an understanding of the different patterns that let you handle sequential or parallel calls. You’ll learn about callbacks, promises and async/await.

Рекомендации по теме
Комментарии
Автор

This is one of the best videos I have seen on the subject. Thank you!

DmitriGoncharov
Автор

The greates class regarding async js patterns. Thanks a lot!

israel
Автор

Nicely explained, I liked the way this complex topic is covered

ajeetsingh
Автор

My colleague uses a lot of complex approaches developing his lwc components, so when I want to learn something new, I just look at his code ) But always good to have a good explanation, thanks!

soulxs
Автор

Great video and explanation. I am working through a scenario which I have a parent Aura component and child LWC. I need response data from a callout to use with the child LWC. I am trying to determine if it is best to make the callout in the parent AURA and rely on the response data to be captured in a variable and passed to the child LWC. This I believe would require initializing the child LWC after response is return from callout OR execute the callout from the child as an await function in the async connectedCallback. Thoughts?

darrellgallegos