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
Repeated warnings about recreation of DOM structure are displayed on console whenever there's a diff update. I am using Angular 18.2. I tried using this on a new Angular project using the exact demo that was provided for this package, but the warnings still persist.
ngx-diff.-.console.warnings.mp4
This is the warning that shows up in the console.
NG0956: The configured tracking expression (track by identity) caused re-creation of the entire collection of size 7. This is an expensive operation requiring destruction and subsequent creation of DOM nodes, directives, components etc. Please review the "track expression" and make sure that it uniquely identifies items in a collection. Find more at https://angular.dev/errors/NG0956
Repeated warnings about recreation of DOM structure are displayed on console whenever there's a diff update. I am using Angular 18.2. I tried using this on a new Angular project using the exact demo that was provided for this package, but the warnings still persist.
ngx-diff.-.console.warnings.mp4
This is the warning that shows up in the console.
Relevant error link
It seems like it could be fixed by changing the tracking expression (most likely for the line difference).
Any help would be much appreciated!
The text was updated successfully, but these errors were encountered: