QuestionQ26

Basic Lightning Web Component Development

Which category can receive signals from a Lightning Message Channel?

  • A page (anywhere on it)
  • B only ancestors (i.e. parents)
  • C only direct siblings
  • D only descendants (i.e. children)
Explanation

Lightning Message Service enables subscribed Aura components, Lightning web components, and embedded Visualforce pages to communicate across the DOM rather than being limited to ancestor, sibling, or descendant relationships. A subscriber can therefore receive a message anywhere on the Lightning page.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!