Q. How do you lazy load a module in Angular routing?

  • (A) Using loadChildren property with dynamic import syntax
  • (B) Using eager loading in app.module.ts
  • (C) Using ngIf directive
  • (D) Using HttpClientModule
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using loadChildren property with dynamic import syntax
Explanation: Lazy loading splits modules and loads them only when needed.
Explanation by: Mr. Dubey
Lazy loading splits modules and loads them only when needed.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
108
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate