I am trying to understand how componentWillUnmount works in responsejs. Is it called automatically or do I need to manually call unmountComponentAtNode to make it work?
I use reaction with angular and rendering the parent component inside the directive. Now I want that when changing the route, I want my parentWillUnmount component to start and perform the necessary cleanup before the ng-view is replaced with another directive containing a different parent component.
source
share