DEV Community

loading...

Discussion on: Debugging Memory Leaks in Angular

Collapse
briancodes profile image
Brian

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