Use trackBy
property with *ngFor to optimize your lists!
🔹 It enables to set a key for each of the item in the loop to uniquely identify it during change detection cycle.
If you are familiar with React, this is same as setting key attribute while mapping over arrays and rendering.
🎉 Interested in Frontend or Indie-hacking?
I talk about the latest in frontend, along with my experience in building various (Indie) side-projects