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
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's a great point about
shareReplay
, could easily be caught out with thatIt'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 usedocument
andElementRef
directly