How to implement checking and ignoring when an array/object path is *moved* when diffing arrays in JavaScript?
问题 I have seen flitbit/diff but it says: Changes to arrays are recorded simplistically. We care most about the shape of the structure; therefore we don't take the time to determine if an object moved from one slot in the array to another.... So doesn't work there. How would you implement this? It seems very hard. Is it possible to build off one of these existing libraries to ignore array moves ? Or how would you implement it directly from scratch? My use case is, I want to keep track of all