0Pricing
Angular Academy · Lesson

Optimizing Lists and Rendering

Speed up large lists with tracking.

Why List Rendering Matters

Lists are the most common performance hotspot. Re-rendering an entire list on every change wastes work and resets DOM state. Angular gives you tools to render efficiently.

The @for Block

The built-in control-flow @for requires a track expression so Angular can identify each item across updates.

@for (item of items(); track item.id) {
  <li>{{ item.name }}</li>
}

All lessons in this course

  1. How Change Detection Works
  2. OnPush Change Detection
  3. Zoneless Angular
  4. Optimizing Lists and Rendering
← Back to Angular Academy