DEV Community

Discussion on: The Ultimate Answer To The Very Common Angular Question: subscribe() vs | async Pipe

Collapse
 
chiangs profile image
Stephen Chiang • Edited

I have been using subscribe in ngOnInit and creating a subscription manager to unsub in OnDestroy which was ok because of couldn't definitely find out which way was better, but then just before this article came out I learned that using the async pipe handled the unsub for me, and now one learned it's also more performant so now I'm trying to use that as much as possible these days. Thanks for this article! I'm excited about the growing presence of angular articles here on Dev.