Lazy / Dynamically loading of component in Angular 9

preview_player
Показать описание
In this video, i talk about

1. how to load the component dynamically / lazily in angular 9 application using ViewContainerRef, ComponentFactoryResolver.

Prepared by: Ayyanar Jayabalan
Рекомендации по теме
Комментарии
Автор

This video helps. Thanks.

Other videos everyone explaining how to load dynamically but actually doing eager loading.

BimalDaslol
Автор

You just solved the complexity I was finding difficult to grasp after 1month. Thank you.

marvelousikechi
Автор

Thanks for sharing! it helped me a lot!

laxmichavan
Автор

Sir, not able to see the code, can u pls zoom little bit

perumalchinnasamy
Автор

How to load js file references only after a component template loaded?

noushadpvlr
Автор

What we need to do if we want to load that component into a specific part of current template.

DJKAPkapil
Автор

Thanks Ayyanar for the nice explanation.how can we stop loading the same lazy loading component again and again¿

gleamofcolor
Автор

I have created in library publish (16 no. in this list) to this. but is show error .
ERROR in app.component.ts(15, 12): error TS2339: Property 'lezy1Component' does not exist on type 'typeof
app.component.ts(20, 12): error TS2339: Property 'lezy2Component' does not exist on type 'typeof

const {lezy1Component} = await import('./lazy1.component');
in this object giving error..
i import and declare in app module also.. Please check and provide me solution.

nanu
Автор

Hi sir, the video is very informational but it was quite a struggle for me to hear it properly. The voice is very low.

vishakagupta
visit shbcf.ru