This blog is about PubSub events to communicate between LWC to LWC, Aura to Aura and LWC to Aura and vice versa.
This blog and One PubSub library are written while attending the Hyderabad event. Great event!!!
- Subscribe and handle PubSub events using declaratively.
- One framework for PubSub that works in both LWC and Aura Component.
- Reduces code errors.
- Uniformity across the LWC and Aura Components to use the PubSub events.
- Use namespace to define the group the events.
- The pattern of use is quite the same as the Aura Component events. Easy for the Aura Component Developers.
Please check out the Github Repo for updated release and documents.
Github Repo: https://github.com/TheVishnuKumar/one-pub-sub-lwc