The previous major version of Angular, 9, came with a lot of amazing features, and one of the most talked-about among them is the Ivy renderer. The parent component is a component in which GreetComponent will be loaded dynamically. This article explains a step-by-step approach to lazy load a component and provides the code along the way. TL;DR: By default Vue CLI based projects prefetch all the things and you can disable it. A Vue.js component to progressively lazy-load an image when it enters the viewport using the Intersection Observer API. The purpose of lazy loading is to postpone downloading parts of your application that are not needed by the user on the initial page load which ends up in much better loading time. With that inside the same file greet.component.ts, create a module and pass FormsModule inside the imports array as shown in the next code listing: You have to create ngModule in the same file in which the component is created and pass all the dependent modules in the imports array. Telerik and Kendo UI are part of Progress product portfolio. Doing this is as simple as adding this to your vue.config.js: You can still make use of prefetching by using the webpackPrefetch directive, which is explained in more detail in Webpack docs, as follows: So that’s it, that's how you can make loading really really lazy, if that's all you needed you are good to go! For example, let’s say GreetComponent is using [(ngModel)] as shown in the next code listing: As ngModel is the part of FormsModule, when you use it inside a lazy-loaded component, Angular complains about that with error: Can’t bind to ngModel since it isn’t a known property of input. It tells the user that an action is being carried and a result will return shortly. # Lazy load in Vue components This is well explained in the "Load components when needed with Vue … He is the author of the best-selling book on Angular, Angular Essential. Now the component will be downloaded only when it’s requested. What was happening was that the code was being splitted, yes, but every chunk was being loaded at page load time, and not only that, they were being loaded twice!! Next, add code in GreetComponent as shown in the next code listing: GreetComponent has an @Input() decorated property to accept data from the parent component and an @Output() decorated EventEmitter so that the event raised here can be handled in the parent component. In normal grouping mode, when a user groups a column, the caption rows and data rows will be rendered in the expanded state.Data row rendering is limited by the page size. I … Here are the most common ways to invoke dynamic loading of Vue component: This is the case with lazy loading, and I’m glad it wasn’t that easy, because I got the chance to learn some really cool concepts that I wasn’t aware of, and which I’m excited to share with you now.