tgriesser / immutable-diff

Hi-Fi diffing for Immutable.js data structures, forked from immutablediff
MIT License
12 stars 2 forks source link

Use immutable.is to compare values? #3

Open NodeGuy opened 7 years ago

NodeGuy commented 7 years ago
> diff(immutable.Set.of(1), immutable.Set.of(1))
List [ Map { "op": "replace", "path": List [], "value": Set { 1 } } ]

Shouldn't we prefer no operations?

drmercer commented 7 years ago

@NodeGuy and anyone else who's interested who comes across this, it seems (from my testing) that the immutablediff package doesn't have this issue. (A different package than this immutable-diff package.)