Learn How to Use Angular's 17 Defer Block

preview_player
Показать описание
In this video, we'll be learning how to use the defer block in #Angular. This block is used to create chunks and lazy load them until a given condition is met. We'll be using this block to improve the performance of our application.

Chapters:
00:00 Intro
02:03 Code Splitting Using Routing
03:14 What @defer block is and how to use it
10:42 Code Splitting using the @defer block
12:18 Use the @defer block using trigger actions
20:07 Break the lazy load of the @defer block
23:13 Thank you

******************************************************
Let's connect
******************************************************

#angular #learnAngular #angularTutorial #angular17 #webdevelopment #softwareengineer
Рекомендации по теме
Комментарии
Автор

How frequently can we use this defer block for better ux and for app in general? For example if we have large page with 10 components, should we use defer for most of them?

hddmuri
Автор

The most clear video I've watched after Angular 17 released. Simple codes, not too fast explanations, great red highlights while explaining. Thank you very much. Please keep your method.

codeme
Автор

Thank you for the video man, very helpful!

madpwnz
Автор

Hi, would you know if I have a component A which extends a directive B.
And in comp. a I am in injecting a service A with inject and inside of the constructor I am also calling super and injecting the service A. The question is, am I creating 2 instances os service A? Thanks in advance.

leiayuri