re: How To implement Lazy Loading in Angular VIEW POST


Correct me if iam wrong, we do have a way for it through template binding

inside the code we can read this variable through viewchild,
then through viewcontainer ref we can creatembeddedview(of respective component)
It will sit inside this template.


That's dynamically creating component instances, not component lazy loading.

What I mean is loading the code of a component only when said component is needed.

code of conduct - report abuse