From ee27f5c72db595ead00194cd803612512d0446c1 Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Mon, 12 Aug 2024 04:25:58 -0400 Subject: [PATCH] docs(angular): add lazy loading modules content (#6500) --- .../lazy-loading-modules@bLERvEERmNI5AgxtEYokZ.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/lazy-loading-modules@bLERvEERmNI5AgxtEYokZ.md b/src/data/roadmaps/angular/content/lazy-loading-modules@bLERvEERmNI5AgxtEYokZ.md index 49cbd09a5..10e54fd92 100644 --- a/src/data/roadmaps/angular/content/lazy-loading-modules@bLERvEERmNI5AgxtEYokZ.md +++ b/src/data/roadmaps/angular/content/lazy-loading-modules@bLERvEERmNI5AgxtEYokZ.md @@ -1 +1,9 @@ -# Lazy Loading Modules \ No newline at end of file +# Lazy Loading Modules + +By default, NgModules are eagerly loaded. This means that as soon as the application loads, so do all the NgModules, whether they are immediately necessary or not. For large applications with lots of routes, consider lazy loading —a design pattern that loads NgModules as needed. Lazy loading helps keep initial bundle sizes smaller, which in turn helps decrease load times. + +Visit the following resources to learn more: + +- [@official@Angular Official Docs - Lazy Loading](https://angular.dev/guide/ngmodules/lazy-loading) +- [@article@Angular Lazy Loading](https://www.bairesdev.com/blog/angular-lazy-loading/) +- [@video@Lazy Loading in Angular: Improving Performance and User Experience](https://www.youtube.com/watch?v=mjhi27YfV8Y) \ No newline at end of file