Lazy Loading Module
In this lesson, you will see how to lazy load a module.
We'll cover the following...
TypeScript analyzes the code while transpiling into JavaScript and can detect if an import is being used only for its type or not. Removing code is an important notion which helps to remove the size of the bundle of dependencies. It is also important if you want to lazy load a module. Lazy loading is the principle of loading on-demand when the module is required. Lazy loading gives a ...