Andrew Kushnir

Results 312 comments of Andrew Kushnir

@CarlosTorrecillas thanks for providing a repro, this is very helpful 👍 I've performed the investigation and found out that the problem was caused by the direct DOM manipulation [here](https://github.com/CarlosTorrecillas/universal-issue/blob/027c671b143151c46f6e6f0b19da7900ef4a755e/src/app/lazy-loaded-module2/template/template.component.ts#L16). A...

@CarlosTorrecillas you may consider using [NgTemplateOutlet](https://angular.io/api/common/NgTemplateOutlet) directive on `` if you want to render a template without an extra "anchor" node.

@CarlosTorrecillas could you please create a [Stackblitz](https://stackblitz.com/) example (with minimal amount of code/components) with `` and `` elements, so that could understand the question better?

@CarlosTorrecillas thanks for the repro. This behavior is expected, since Angular uses host elements for components. As a result, those extra `` nodes are preserved in the DOM and are...

@karimzg thanks for creating a ticket. Currently, components with i18n blocks are skipped by hydration, we've documented it in the [hydration guide](https://angular.io/guide/hydration#i18n). We plan to improve hydration to support components...

Adding hydration support for i18n blocks is very high on our list and we'll start looking into this soon. We don't have any ETAs, but we'll keep this thread updated...

Closing this ticket as completed. If you come across any issues while testing hydration for i18n blocks, please feel free to create a new ticket. Thank you.

@JiaLiPassion @alan-agius4 what do you think about using `setTimeout` as a replacement for `requestAnimationFrame` for Node.js environment in the mentioned scenario? I think we can also consider using `queueMicrotask` function.

@arturovt thanks for the comment, I do agree that the mentioned change might be a possible solution. I think what'd be great to preserve though is the consistency of execution...

@arturovt thanks again for reporting the issue. We had a discussion with the team and the decision is to use `setTimeout` on the server when no `requestAnimationFrame` is available, as...