What is a potential consequence of not unsubscribing from an observable in an Angular component?

  • Better application responsiveness
  • Improved performance
  • Memory leaks
  • Reduced CPU usage
Not unsubscribing from an observable in an Angular component can lead to memory leaks, as the subscription remains open, causing resources to accumulate over time.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *