πŸ“Š Angular
Q. What is the role of the 'trackBy' function in *ngFor?
  • (A) To filter items
  • (B) To style items
  • (C) To improve performance by tracking item identity
  • (D) To prevent rendering
πŸ’¬ Discuss
βœ… Correct Answer: (C) To improve performance by tracking item identity

Explanation: trackBy improves performance by tracking the identity of items.

Explanation by: Mr. Dubey
trackBy improves performance by tracking the identity of items.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
64
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate