Salesforce
PDII · Question #319
A developer is building a Lightning web component that searches for Contacts and must communicate the search results to other Lightning web components when the search completes. What should the…
The correct answer is A. Publish a message on a message channel. See the full explanation below for the reasoning.
Question
A developer is building a Lightning web component that searches for Contacts and must communicate the search results to other Lightning web components when the search completes. What should the developer do to implement the communication?
Options
- APublish a message on a message channel.
- BFire an application event.
- CPublish an event on an event channel.
- DFire a custom component event.
How the community answered
(47 responses)- A83% (39)
- B11% (5)
- C2% (1)
- D4% (2)
Community Discussion
No community discussion yet for this question.