Q. What is the purpose of the trackBy function in *ngFor?
β
Correct Answer: (A)
To improve performance by tracking list items
Explanation: trackBy helps Angular track which items have changed, improving performance.