I created a reusable lightning component that will act as a related list component. I want to handle add/remove event when the user makes changes from Edit Page (Settings-> Edit Page).
Example: I place my component under the Account's related tab
(Account's children: Opportunity, Custom Object1, Custom Object2, Custom Object3).
I added the Custom Lighting component 4 times for Opportunity, Custom Object1, Custom Object2, Custom Object3 when the user removes Custom Object1 from Edit Page, I want to handle an event that the user removed the custom lightning component which is a tie with Custom Object1.
Please let me know if you have any idea or suggestion.