xxxxxxxxxx
@for (item of items$ | async; track item.id) {
// Your HTML Code
}
// Some points to keep in mind:
// - you do not have to use the `let` keyword before the `item` like by the old fashion way (*ngForm="let item of items$; track item.id")
// - you have to use the `of` keyword between the single item variable and the collection, not the `in`
// - with async pipe you can forget about destroying the observable (https://kaleb-dalla.medium.com/angular-3-ways-to-automatically-unsubscribe-153e9d0501ae)
// - do not forget about to track the id or another unique value