Agree that as long you unsubscribe correctly and avoid memory leaks, mixing both imperative and declarative works out too, no question about this.
My point is that programming imperatively with RxJS, as quoted in the article of Josh I am mentioning, goes against the grain and might be making things harder.
Therefore the idea that trying to never subscribe, slowly adapting to a reactive approach that fits better the RxJS concept and therefore makes ultimately things easier.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Seems like more of preference choice. As long as you remember to unsubscribe with
ngOnDestroy
properly, all goodWell yes and no.
Agree that as long you unsubscribe correctly and avoid memory leaks, mixing both imperative and declarative works out too, no question about this.
My point is that programming imperatively with RxJS, as quoted in the article of Josh I am mentioning, goes against the grain and might be making things harder.
Therefore the idea that trying to never subscribe, slowly adapting to a reactive approach that fits better the RxJS concept and therefore makes ultimately things easier.