Angular - Performance Optimization
Which of the following is the correct syntax to use
trackBy in an ngFor loop?trackBy in an ngFor loop?ngFor syntax with trackBytrackBy followed by the function name without parentheses.*ngFor="let item of items; trackBy: trackByFn" matches the correct syntax: *ngFor="let item of items; trackBy: trackByFn". Others either miss the keyword or use parentheses incorrectly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions