i came across a situation in my angular application where an item in a list was mutated but i didn't want the DOM element to be recreated. i dug into the ngFor implementation a bit and it seemed that this was not possible. is my understanding correct here? that is, the component is always re-instantiated given a change in the list item as identified by ngTrackBy?
i added this code to the beginning of _applyChanges for my particular use-case (a single element in the list is mutated) https://gist.github.com/okhobb/6873e751f4e9959690aece852e502e3f but curious if perhaps a more general solution should be added to angular. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/e9795256-c90a-470b-9ad4-9f5ca40e6470%40googlegroups.com.
