I wish Angular had component-based lazy loading...
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.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wish Angular had component-based lazy loading...
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.