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

  • (A) Using loadChildren with dynamic import syntax
  • (B) Using component property in route
  • (C) Using ngIf in template
  • (D) Importing the module in AppModule
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using loadChildren with dynamic import syntax
Explanation: Lazy loading is done with loadChildren and dynamic imports in routing.
Explanation by: Mr. Dubey
Lazy loading is done with loadChildren and dynamic imports in routing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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