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:
Post a Comment