Thursday, February 27, 2020

[Video Tutorial]: Auto unsubscribe in angular 9


In this video, I talk about

1. how to unsubsribe from observable when navigating to another component using ngOnDestroy event.

2. how to install package @ngneat/until-destroy

3. In angular 9, how to use the above installed package to handle the unsubscription automatically using UntilDestroy decorator and UntilDestroyed(this) operator.

Github: https://github.com/ayyanarjayabalan/secureangularapp






No comments: