So I have two unrelated components on one page. And when items are added\deleted on the first one they need to be displayed in second component. I use this: eval("$A.get('e.force:refreshView').fire();"); window.location.reload(true); for page reload when data is added\deleted on first component.But it causes some issues. What would you suggest? Thanks

1 Answer 1


Have you heard about Lightning Platform Events / message Channels ? Basically the component that needs to get information can "subscribe" to an event fired by the other components where items get added. This documentation has the details but if you need a bare bones implementation , i have one here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .