Angular Challenges #36 NgFor Optimization solution
- Angular
- Angular CLI version 16.2.2.
- Would be nice if person model had an id -> could just add trackBy without a custom function
- Using the profiler, it is tough to tell if the trackBy function is working.
- Looking at the elements of the app-list is better to tell that the whole list is not updating when using the input, the delete or update buttons.
- Stack Overflow - angular what is the point of implementing trackby
- Telerik - angular basic keep track incoming data angular trackby method
- Angular University - angular 2 ngFor
- Github - Supporting trackBy: expression|id #12969
- Medium - here is how you can use trackby with a property name