#Why is ng-version added to components rendered from ngComponentOutlet after hydration?

3 messages · Page 1 of 1 (latest)

slim flicker
livid mica
#

I suppose it acts like a mini-bootstrap i.e. the dynamic component here goes through the similar initialization steps as the root component (rendered into DOM at runtime, after the app has been initialized ). Also, this "ng-version" can be removed via ElementRef/Renderer2 in ngAfterViewInit() as it's a dynamic component.

peak fiber
#

Open an issue, that’s definitely a bug