Coding task · Angular course · Module 12: Security and Performance

Practice: OnPush

The OnPush strategy (an enum from @angular/core) checks the component only when an input reference changes, an event fires in its template, the async pipe receives a new value or a signal read in the template changes. @for needs a track expression that identifies each list item uniquely and stably.

Task

Complete the component with the OnPush optimization.