Activity Forums Salesforce® Discussions What is pubSub?

  • Laveena

    Member
    October 10, 2019 at 6:53 AM

    Hi Saddam,

    To communicate between components that are not in the same DOM tree, we use a singleton library that follows the publish-subscribe pattern. ... Let's say, you have two components to a Lightning page in App Builder, then use the pubsub module to send events between them.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates

Video in

Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…