Lazy loading significantly helps with application performance, namely: Response Time and Resources Consumption. Lazy loading speeds up an application load time by splitting it into multiple bundles and loading them on demand instead of loading all the components at once when a page is loaded.

Getting started

To implement lazy loading, create an Angular app with multiple components and their routes. For example, Home component, Workflow and Explain. Assuming home component as the index page, the workflow and explain components will be lazy load components and will have their own feature modules.

  1. In an existing Angular project, generate modules for the lazy…

Aishwarya B

Product Engineer at Tredence

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store