Skip to content

jdegand/ngfor-optimization

Repository files navigation

Ngfor Optimization

Angular Challenges #36 NgFor Optimization solution

Built With

Thoughts

  • 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.

Useful Resources

  • 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

About

Angular Challenges #36 ngFor Optimization

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published