DEV Community

Discussion on: Debugging Memory Leaks in Angular

Collapse
 
briancodes profile image
Brian • Edited

That's a great point about shareReplay, could easily be caught out with that

It's unusual to see Renderer2 being used directly. In later versions of Angular it's not required (even for SSR). Angular material/components libraries removed all references to it a year or two ago, and just use document and ElementRef directly