Loading modules
-
Loading modules
-
Eager Loading , Pre Loading , Lazy LoadingEager loadingmeans loading modules before application starts - suitable for small size apps.Preloadingmeans loading modules in background just after application starts - suitable for medium and large apps as wellLazy loadingmeans loading modules on demand (like when user visits particular route then only that component related code will be loaded) - suitable for Large enterprise apps- In lazy loading and preloading, modules are loaded asynchronously.