Lesson

Lazy Load Routes in Angular

Instead of including modules as part of your main app bundle, load them on demand using loadChildren within the Angular Router.

Duration
2 min
Access
Free
Transcript
Available

Instead of including modules as part of your main app bundle, load them on demand using loadChildren within the Angular Router.

This enables you to have a smaller bundle size and better performance as the module(s) are only loaded when required.