-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Can this library support arrays as a state? ie.
[
{
name: "A",
height: 4,
data: {
// ...
}
},
{
name: "B",
height: 8
data: {
// ...
}
},
]
You mention in the docs that
the
deep-diff
library calculates structural changes between two javascript objects. As such, your state must be a diffable object.
Instead of just diffing each side, could you iterate over all elements in an array and store the diffs of that?
I found your repo looking at this list, and realized that I'm essentially building your library here and figured it doesn't hurt to ask 😄.
Amatewasu
Metadata
Metadata
Assignees
Labels
No labels