From a857f72c816e01ac323f69563b6eccd41350379e Mon Sep 17 00:00:00 2001 From: Shuaib Hasan Akib Date: Thu, 4 Sep 2025 02:18:34 +0600 Subject: [PATCH] docs: should not conditionally include `` in IMPORTANT block (#63580) PR Close #63580 --- adev/src/content/guide/components/content-projection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adev/src/content/guide/components/content-projection.md b/adev/src/content/guide/components/content-projection.md index 1d21bc554fe..7a5ae1a6f1e 100644 --- a/adev/src/content/guide/components/content-projection.md +++ b/adev/src/content/guide/components/content-projection.md @@ -68,7 +68,7 @@ placeholder that tells Angular where to render content. Angular's compiler proce all `` elements at build-time. You cannot insert, remove, or modify `` at run time. You cannot add directives, styles, or arbitrary attributes to ``. -You should not conditionally include `` with `@if`, `@for`, or `@switch`. Angular always +IMPORTANT: You should not conditionally include `` with `@if`, `@for`, or `@switch`. Angular always instantiates and creates DOM nodes for content rendered to a `` placeholder, even if that `` placeholder is hidden. For conditional rendering of component content, see [Template fragments](api/core/ng-template).