take-while-alive

Custom rxjs operator to automatically unsubscribe any subscription when an Angular component/service is destroyed

ngx-until-on-destroy

Allow you unsubscribe subscriptions when component was destroying. Can be used with Angular 5-10