Add isDeepEqual
function
#227
aleclarson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reference implementation: https://github.com/lukeed/dequal/blob/master/src/index.js
Requested by #226
Notes
Not sure if
ArrayView
orDataView
support is necessary.Might be good to have an option for customization of object handling (though arrays,
Map
instances, andSet
instances would not be customizable). For example, Lodash'sisEqual
has special handling for DOM nodes that some people may want. It would also let us keep the implementation lean (e.g. for those who don't useArrayView
andDataView
).This could be through an
extend
static method.…or a direct option (more cumbersome IMO):
Beta Was this translation helpful? Give feedback.
All reactions