Apply Route-level Code Splitting and Lazy Loading with the Angular CLI

Share this video with your friends

Send Tweet

When our Angular web app grows, the initial bundle size increases and so does the Time to Interactive. One of the countermeasures we can apply to improve that is to apply code-splitting to our app and consequently to lazy load those bundles only when they are needed. In this lesson we will learn how to apply route-level code splitting via the Angular CLI.