I have some common components that dispatch an action. For example Status Selection, this component is used across my application in different modules, in each module I have effects being triggered by this action.
Now, if I have child modules: Module A -> Module B -> Module C, each listening to my Status Selection, if I'm in Module C, the actions of Module A are still being dispatched and I don't want that, I want each Module to be isolated even from its parents.
Is there a way to stop or destroy the listeners for actions after I'm not anymore in its Module?