Skip to content

Files

Latest commit

9a3d9fc · Dec 4, 2024

History

History

lazy-loading-router-provider

title toc
Lazy Loading with RouterProvider
false

Lazy Loading Example using RouterProvider

This example demonstrates how to lazily load individual route elements on demand route.lazy() and dynamic import(). Using this technique, pages that are not required on the home page can be split out into separate bundles, thereby decreasing load time on the initial page and improving performance.

Preview

Open this example on StackBlitz:

Open in StackBlitz