Sign in
Log inSign up

in Angular is it a bad practice to use .subscribe() in components?

Kareem's photo
Kareem
·Mar 29, 2018

I've read that using .subscribe in component is considered a bad practice and that async pipe is a better alternative. I'm asking for examples and why.