You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@nartc I'll start to implement this, now that I have some "practice" with the other PR
I only have 1 question: what kind of test can I create for something like trackBy??
I'm NOT a test expert, but can't think of something "useful" to test if the directive trackById and trackByProp really works, because they will set an input for the ngForTrackBy and alter the behavior of the renderer, but how I can test it? any suggestion?
Don't you mind if I'll add this function?
https://gist.github.com/dmorosinotto/8deeb5b2db6c6dfcb9a927268ef85745
They are two standalone directives to help/easy handle trackBy in *ngFor , the original code is inspired by this article
The text was updated successfully, but these errors were encountered: