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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Reference implementation: https://github.com/lukeed/dequal/blob/master/src/index.js
Requested by #226
Notes
Not sure if
ArrayVieworDataViewsupport is necessary.Might be good to have an option for customization of object handling (though arrays,
Mapinstances, andSetinstances would not be customizable). For example, Lodash'sisEqualhas 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 useArrayViewandDataView).This could be through an
extendstatic method.…or a direct option (more cumbersome IMO):
Beta Was this translation helpful? Give feedback.
All reactions