What is the use of ngfortrackby directive?
Answer / Shailesh Narayan Gautam
The ngForTrackBy directive in AngularJS is used to specify a custom comparison function for tracking changes in items when iterating over arrays with the ngFor directive. This can improve performance by reusing existing DOM elements for unchanged items.
| Is This Answer Correct ? | 0 Yes | 0 No |
How AngularJS compilation is different from other JavaScript frameworks?
List the key components of angular 2?
Mention what are the styling form that ngmodel adds to css classes?
Explain ng-bind and ng-bind-html directives.
What is the difference between ng-if, ng-show/ng-hide?
What is ivy renderer?
What is pathmatch in angular routing?
What is async pipe?
Sketch a pictorial diagram of angular architecture.
What is es6?
What happen when I import the same module twice?
Explain host decorator in angular 2?