πŸ“Š Angular
Q. How can you track identity of items in ngFor for performance?
  • (A) Using index
  • (B) Using key
  • (C) Using trackBy function
  • (D) Using map operator
πŸ’¬ Discuss
βœ… Correct Answer: (C) Using trackBy function

Explanation: trackBy improves performance by identifying items uniquely during changes.

Explanation by: Mr. Dubey
trackBy improves performance by identifying items uniquely during changes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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