I am not understanding the use of track by
function in Angular 2. I have read many blogs but they provide the same answer that track by
improves performance. In every blog track by
function returns index of element. What is its use? Can we return any other value than index of element? If yes, how can we use that returned value?
Asked
Active
Viewed 91 times
0

David Walschots
- 12,279
- 5
- 36
- 59

Shirish
- 69
- 2
- 8
-
What value do you mean? – Roman C Feb 09 '17 at 18:25
-
Grammar changes, make the text flow better. – David Walschots Feb 12 '17 at 21:58