Asynchronous modules and components in Angular Ivy

added by JavaScript Kicks
8/9/2019 7:16:27 AM

1826 Views

Ivy engine has brought (and also will bring) a huge amount of new features. Honestly, I always dreamed of having an opportunity to load modules asynchronously, and most importantly, components, you can do that with one line of code in Vue: For sure we could lazy load any non-routable module by adding it to the lazyModules property in the Angular's config and then override NgModuleFactoryLoader token with SystemJsNgModuleLoader, but this has never been the best practice and also this approach is much harder to accompany.


0 comments