diff --git a/apps/performance/36-ngfor-optimization/src/app/person-list.component.ts b/apps/performance/36-ngfor-optimization/src/app/person-list.component.ts index 6d9b2b4af..887fd73f6 100644 --- a/apps/performance/36-ngfor-optimization/src/app/person-list.component.ts +++ b/apps/performance/36-ngfor-optimization/src/app/person-list.component.ts @@ -7,23 +7,23 @@ import { Person } from './person.model'; selector: 'app-person-list', imports: [CommonModule], template: ` -
-

{{ person.name }}

-
- - + @for (person of persons; track person.email) { +
+

{{ person.name }}

+
+ + +
-
+ } `, host: { class: 'w-full flex flex-col',