DEV Community

[Comment from a deleted post]
Collapse
 
daviddalbusco profile image
David Dal Busco • Edited

Well 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.