Loading topic
@defer block and shows what the compiler does with it. It assumes you can write standalone components with an imports array, use @if and @for in templates, and run ng build and read its output. Triggers, sub-blocks, and testing each get their own cha6 min readimports array, use @if and @for in templates, and read the file list from an Angular CLI production build. It explains which template dependencies the compiler can move into a lazy chunk, and which ones stay in the main bundle ev6 min read@defer block does not render its content right away. For some time the user sees nothing from it, then the chunk downloads, and then the content appears. Three optional sub-blocks let you control what the user sees at each stage: @placeholder, @loading and @error. This chapter covers what 6 min read@defer block and know the roles of @placeholder, @loading and @error. It also assumes you know that a trigger starts the load. Here you will learn the two timing parameters, minimum and after, which control how long those blocks stay on 6 min read@defer block does not load its content by itself. A trigger is the condition that starts the load. This chapter covers how triggers work in general: the syntax, the rules for combining them, what each kind watches, and what happens after one fires. The later chapters on specific triggers build o7 min readimports array, the @defer block with its @placeholder, @loading and @error sub-blocks, and how a trigger starts the download of a lazy chunk. Y7 min readon viewport, on interaction and on hover. It assumes you have read the earlier chapters on the @defer block, @placeholder, @loading and @error, and the idle, immediate and timer triggers. You should also be co6 min readwhen trigger of @defer. It assumes you already know the basic @defer block, the @placeholder, @loading and @error sub-blocks, and Angular signals. It also assumes you have read the overview of how triggers start loading.5 min read@defer block with a main trigger and a @placeholder. It also assumes you know that deferred dependencies are standalone components moved into a lazy chunk. Here you will separate two things that a plain @defer does in one step: downloading the chunk and ren6 min read@defer syntax with @placeholder, @loading and @error, and have seen the basic triggers. It covers two decisions: how to make a deferred block appear without moving the page, and which parts of a page are worth deferring at a6 min read@defer block with @placeholder, @loading and @error sub-blocks, and that you know the basics of TestBed and ComponentFixture. Here you will learn how Angular's test utilities let you drive a deferred block through its states without waiting for rea6 min read@defer block does when Angular renders your page on the server, and what the browser does with that HTML afterward. It assumes you know standalone components, the @defer triggers and sub-blocks from earlier chapters, and the basics of Angular SSR (ng add @angular/ssr6 min read