From 4d3c792a54893a1e5ba23dcd6ecee566c00a6da3 Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Sun, 1 Sep 2024 00:31:53 -0400 Subject: [PATCH] docs(angular): add dynamic components content (#6928) --- .../dynamic-components@tC5ETtOuuUcybj1jI4CuG.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/dynamic-components@tC5ETtOuuUcybj1jI4CuG.md b/src/data/roadmaps/angular/content/dynamic-components@tC5ETtOuuUcybj1jI4CuG.md index f80074673..397533f54 100644 --- a/src/data/roadmaps/angular/content/dynamic-components@tC5ETtOuuUcybj1jI4CuG.md +++ b/src/data/roadmaps/angular/content/dynamic-components@tC5ETtOuuUcybj1jI4CuG.md @@ -1 +1,11 @@ -# Dynamic Components \ No newline at end of file +# Dynamic Components + +In addition to using a component directly in a template, you can also dynamically render components. There are two main ways to dynamically render a component: in a template with `NgComponentOutlet`, or in your TypeScript code with `ViewContainerRef`. + +Visit the following resources to learn more: + +- [@official@Angular Official Docs - Programmatically rendering components](https://angular.dev/guide/components/programmatic-rendering) +- [@video@Dynamic Component in Angular (2024)](https://www.youtube.com/watch?v=ncbftt3NWVo) +- [@article@New Input Binding for NgComponentOutlet](https://medium.com/ngconf/new-input-binding-for-ngcomponentoutlet-cb18a86a739d) +- [@article@Render dynamic components in Angular using ViewContainerRef](https://dev.to/railsstudent/render-dynamic-components-in-angular-using-viewcontainerref-160h) +- [@video@Mastering ViewContainerRef for dynamic component loading in Angular17](https://www.youtube.com/watch?v=Ra4PITCt8m0) \ No newline at end of file