Angular 17 stop using *ngFor

academeez
academeez
1.3 هزار بار بازدید - 6 ماه پیش - If you're using Angular 17
If you're using Angular 17 you should stop using *ngFor and start using the new control flow syntax @for to loop over iterables in  your angular templates.
In this lesson we will go over all the benefits of using the new control flow syntax.
We will go over the track, @empty block, contextual variables and more.
The full source code, a step by step guide, and a playground to play with the new syntax is available at:
https://www.academeez.com/en/course/a...

#angular #angular17

0:00 About the new @for syntax
2:00 Creating a new project @for comparison
7:45 @for track function
13:13 @for @empty block
16:57 Contextual variables
21:19 Summary
6 ماه پیش در تاریخ 1402/10/18 منتشر شده است.
1,340 بـار بازدید شده
... بیشتر