Angular
@defer: Lazy-Loading Angular Templates Without the Boilerplate
The @defer block turns lazy loading from a routing-level decision into a template-level one, with triggers that fit real UI patterns.
3 min read
Tag
2 articles
The @defer block turns lazy loading from a routing-level decision into a template-level one, with triggers that fit real UI patterns.
Lazy loading isn't just deferred images — the same principle applies to JS bundles, database relations, and API responses, each with its own trade-offs.