DEV Community

Cover image for Total guide to lazy loading with Angular @defer
Tomas Trajan 🇨🇭 for Angular

Posted on

Total guide to lazy loading with Angular @defer

Angular 17 is here, and it has arrived with a very strong line up of amazing goodies!

The new @defer block, which allows us to lazy load Angular standalone components, is by far the most exciting and impactful feature of Angular 17 (at least in my books)!

The Angular @defer at glance

The @defer syntax allows us to lazy load any Angular standalone component with exceptionally great DX and API which covers almost every use case that you can imagine!

Continue reading at (free)

Top comments (3)

sloan profile image
Sloan the DEV Moderator

Hey there!

While we appreciate you sharing posts here, please see DEV's Content Policy available in our Terms and be careful not to share content that is too promotional. The terms state:

Users must make a good-faith effort to share content that is on-topic, of high-quality, and is not designed primarily for the purposes of promotion or creating backlinks.

Going forward, be careful to avoid sharing articles that are too promotional in nature. While it's generally okay to promote your product, business, personal brand, etc., just make sure that the content you share has value beyond promotion.

If you balance out any promotional materials with helpful tutorials, walkthroughs, or other information, then your post should fit just fine. But, if you continue sharing heavily promotional material, it's likely that our moderators will downvote your content, making it less discoverable in our feeds and potentially deindexed from search engines. If your content is regularly downvoted by our mods, this will alert our admin, who may take action to remove your content and/or suspend your account.

We hope you continue to enjoy DEV and share content, but please keep the promotional material to a minimum and keep in mind that the community here is made up of software devs who are primarily trying to help out and learn from one another!

jangelodev profile image
João Angelo

Great Tomas,
Thanks for sharing
Great article