LWC Bootcamp Day 31 | LMS | Message Channel
ฝัง
- เผยแพร่เมื่อ 5 ต.ค. 2024
- 𝐒𝐞𝐬𝐬𝐢𝐨𝐧 𝐓𝐫𝐚𝐜𝐤𝐞𝐫 - shorturl.at/iqGP2
Welcome to our comprehensive guide on Lightning Message Service (LMS) and Message Channels in Salesforce! This video is perfect for developers looking to streamline communication between Aura and Lightning Web Components (LWC).
🔹 What You'll Learn:
Introduction to LMS: Understand the basics of Lightning Message Service and its importance in Salesforce.
Setting Up Message Channels: Step-by-step guide on creating and configuring message channels for effective inter-component communication.
Using LMS with Aura and LWC: Learn how to implement LMS in both Aura and Lightning Web Components for seamless data exchange.
Real-World Examples: Practical demonstrations showing how to utilize LMS in various scenarios.
Best Practices: Tips and tricks to optimize your use of LMS and ensure efficient message handling.
Troubleshooting: Common issues and how to resolve them for smooth LMS operation.
#lwc #lwcproject #lwcminiproject #queryselector #dynamicss #looping #salesforceproject #vscodeproject #authorizesalesforce #devhub #customevents #collections #map #salesforce #lightning #development #lwc #jsoverview #lighting #salesforcelighting #salesforcetraining #lwcbasics #lwcadvanced #salesforcedeveloper #developer #ankitjain #techjourneywithankit #studysalesforce #lwc #aura #lightningwebcomponent #ankitjain #lwcbootcamp #arrowfunction #callbackfunction
This is one of the most important topics in LwC, thankyou so much Ankit sir for covering this in detail.
Glad you found this helpful
You are doing a good job for the community. Can't thank you enough for this series! 💙💙 Just one request : Please add more LWC projects in your playlist, thanks in advance.
Glad you liked it. Sure I am working on Projects
Nice explanation. Can you explain what's Shadow DOM and what's the difference between DOM and Shadow DOM
Sir A Very Big Thank you Sir. Thank you for the Amazing Bootcamp Sir🙏
Glad you found this helpful
kudos to your efforts👏
Thank you so much 😀
Great way Explanation... Thank you so much Ankit..
Thanks
Thanks for all these amazing videos, they are very helpful @Ankit.
Glad you like them!
Hi Ankit, I have watched some of videos boot camp those were really helpfully me .here my request could you please do video on how to fix bugs easily.
Do check out the debugging videos?
Thank you so much for your valuable teaching
Glad you found helpful
Thank you a lot.plz also do video in vs code shortcuts, useful extensions you're using .
As soon as possible
Again, it was a great session, thank you dear Ankit!!
Glad you found this helpful
I have a confusion where should I start to learn LWc from one year..I'm jobless since one year because of fear on LWc.now I get a confidence after watching your videos Ankit ji.really I'm very grateful towards you.
Start from Day 1
@@TechJourneyWithAnkitSure I will do that ...Thank you 😊.
wonderful session
In LMS I noticed its passing messages between Components on Same Page.
What I wanted to publish message from Component on one Page to Component on Another Page !
Go for platform events. With LMS that is not possible
Ankit,
What if we want communicate between GrandParent and Child without touching Parent and without using LMS
Any specific scenario you try to meet.
@@TechJourneyWithAnkit i got this question once in interview. How can we communicate between Grand parent and child without touching parent .
how to handle event bubbling in LMS
There is no concept of event bubbling in lms
Is it possible to have one Subscriber component listening to various channel ? Example I am trying to show the Contact details on the same card as the Subscriber component instead of creating brand new component .
yes it is possible.
I am not able to deploy the messageChannel file. It shows in red mark. And not able to deploy
What is the error
@@TechJourneyWithAnkit sorry i didnt see this i am doing the trailhead module of communication between unrelated components. i am getting error "Cannot find Lightning Component Bundle Event Comms"
can't able to find package.xml file in the project files.
Do create project with Manifest while project setup
@@TechJourneyWithAnkit it worked. But if we create without manifest and there package.xml will not present. Can we not able to achieve the LMS?