A

Admin • 832.27K Points
Coach

Q. What does `trackBy` do in `*ngFor`?

  • (A) Helps Angular track list items for better performance
  • (B) Adds delay in rendering
  • (C) Automatically reloads items
  • (D) Binds CSS styles
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

`trackBy` improves performance by identifying items with a unique identifier.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.