5 - 6
Dynamic data gives us the opportunity to build dynamic components. Dynamic components are reusable and make building large-scale applications so much easier. In this course, Juri Stumpflohner will take us through the specific use case of of creating a tabbed component which allows us to dynamically define new tabs.
On our journey of implementing this component we will learn about how we can dynamically instantiate components, leveraging the ComponentFactoryResolver
and ViewContainerRef
.
Furthermore we will explore how to define view templates, how to pass them to our dynamically instantiated components as well as how to pass data into those templates. All of this will be powered by ngTemplateOutlet
and ngTemplateOutletContext
.
it would be great to give a bit of follow-up on what's done in a given clip: explain why.
I would like to render components dynamically..... there are 100 components and depending upon some conditions i want to load and render 1 or 2 components at a time. It would be great if you can guide me on this..... Thanks in advance.
The ng-container, ng-content, and ng-Template were all too much mixed up. I would have appreciated if these 3 were themselves a short course, and there was a recommendation coming that 'you should watch this course first in order to watch dynamic components'. Dynamic Components just needed a ViewcontainerRef. I would have appreciated if instead of ng-content, ng-container, ng-template, I would have got an explanation of each type of Ref- ViewContainerRef, ElementRef and TemplateRef and when to use which one. And then transitioned to Dynamic components.
It goes way beyond the basics. This is the first time I have encountered a tutorial explaining how to use dynamic component. It is a lot to take in but fortunately it is possible to watch the tutorial again.
Thank You Juri!
Useful and easy to digest information. That is actually what I was looking for. Thank you.
P.S.: would love to watch a course on how to implement filters for a set of data that is displayed as a table.
I learned a lot of new. Thanks.
Become familiar with the Workers CLI wrangler
that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.
This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio
git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.