DEV Community

Discussion on: Consuming APIs in Angular: Displaying Data In Components

Collapse
 
florimondmanca profile image
Florimond Manca • Edited

Hi! This subscription won’t lead to memory leaks because it completes after the request finishes, i.e. the observable is bounded.

I’ve found this article useful to know when and how to unsubscribe from observables: netbasal.com/when-to-unsubscribe-i...

Collapse
 
gaurangdhorda profile image
GaurangDhorda

Thank you so much for this information!. helps to clear doubts on unsubscribing cases in one document shred by you. :)