Difference between eager loading and lazy loading?

Forums AngularDifference between eager loading and lazy loading?
Staff asked 2 years ago

Answers (1)

Add Answer
prinkesha lathidadiya Marked As Accepted
Staff answered 2 years ago

 Eager Loading

Modules are often loaded eagerly by default. As soon as the programme begins, feature modules under Eager loading are loaded. For small-scale applications, this is frequently employed.

Lazy loading

When there is a need, lazy loading loads the feature modules dynamically. The software is quicker as a result. When a larger application is being utilised, it is employed when not all of the modules are needed right now.

Subscribe

Select Categories