DEV Community

Discussion on: 7 Deadly Sins of Angular

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen

Your solution comes with a footgun. If the takeUntil operation is placed in the wrong position of the observable pipeline, it will lead to unforeseen consequences such as memory leaks and duplicate side effects.