Angular - Lifecycle Hooks
You notice your Angular component's
ngOnDestroy method is not called when navigating away. What is the most likely cause?ngOnDestroy method is not called when navigating away. What is the most likely cause?ngOnDestroy runs when Angular destroys the component instance.ngOnDestroy won't run.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions