The Angular Router
summary
Angular Router now offers transparent lazy-loading so route modules move into separate bundles via loadChildren, reducing initial bundle size and bootstrap time; the router merges remote route configs at runtime and keeps links synchronous by staying URL-based. It ships two preload strategies (none, all) and an easy-to-implement custom preload strategy that checks a route flag. Webpack/CLI support auto-discovers loadChildren entries and produces matching bundles with the provided webpack plugin.
AI-written summary · about
