in Angular is it a bad practice to use .subscribe() in components?
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.
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.