Cross Component Communication with Custom Events | Developer Quick Takes

Опубликовано: 26 Ноябрь 2024
на канале: Salesforce Developers
99,344
568

In this Quick Take, we will learn how to take Custom Events and apply them to a common use case. We’re first going to take a look at how to create an event and dispatch it from one component. Then we will learn how to subscribe to an event and pass the body into a method for use.

Check out part 2 here:    • Creating a To-do List with Custom Eve...  

Quick Take - Lightning Message Service in LWC and Aura:    • Lightning Message Service in LWC and ...  

Check out the code on GitHub: https://github.com/schandlergarcia/lw...

Take the “Learn to work with Javascript” Trail on Trailhead: https://trailhead.salesforce.com/en/c...

Learn more about Custom Events: https://developer.mozilla.org/en-US/d...

Connect with Salesforce Developers:
Website: https://www.developer.salesforce.com/
Facebook:   / salesforcedevs  
Twitter:   / salesforcedevs  
LinkedIn:   / salesforce-developers  

Track: BeatFort - Rampant Sunrise
Music provided by Ninety9Lives
Stream / Free Download: 99l.tv/rampantsunriseYU