Using Pure Pipes To Generate NgFor TrackBy Identity Functions In Angular 7.2.7

added by JavaScript Kicks
3/8/2019 12:00:24 PM

776 Views

Ben Nadel reflects on the ease-of-use provided by the "track by" expression in AngularJS; and, attempts to re-create some of that magic using pure Pipes in Angular 7.2.7. With a pure Pipe, we can create a higher-order-function (HOF) that generates a "track by" function that uses a specific property as the track-by expression.


0 comments