5 min read
•Question 24 of 46mediumLazy Loading Modules
Loading modules on demand.
Why Lazy Loading?
- Faster initial load
- Load features on demand
- Smaller initial bundle
- Better user experience
Implementation
Use loadChildren in route configuration.
Loading modules on demand.
Use loadChildren in route configuration.