DEV Community

Discussion on: [4+1 ways] How to Unsubscribe from Observables in Angular like a 😎

Collapse
 
werasmus profile image
Werner Erasmus

Forgive my asking. Why a ReplaySubject as opposed to Subject in your base class. Would ngOnDestroy be called more than once?