79650508

Date: 2025-06-03 01:11:28
Score: 1.5
Natty:
Report link

I am using Angular 20, @for is new syntax. With track expression determines a key used to associate array items with the views in the DOM

@for (news of data; track news.json) {
  <h3>{{news.json}}</h3>
} @empty {
  <h3>There are no json.</h3>
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @for
  • Low reputation (0.5):
Posted by: Basil the dev