What is Eager and Lazy loading? 

Eager loading is the default module-loading strategy. Feature modules under Eager loading are loaded before the application starts. This is typically used for small size applications.

Lazy loading dynamically loads the feature modules when there’s a demand. This makes the application faster. It is used for bigger applications where all the modules are not required at the start of the application. 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *