Search results
136 packages found
Deep and shallow clone.
- deep
- shallow
- clone
- merged
- forks
- https://github.com/jonschlinkert/shallow-clone
- https://github.com/jonschlinkert/clone-deep.
- [deep=false]
- [instanceclone=true]
- custom
- objects
- array
- arr
- object
- View more
Immnutably remove an element from an array if it is present.
Chai shallowDeepEqual replacement that wraps Unexpected
Equality evaluation strategies
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
- array
- assign
- buffer
- clamped
- clone
- clone-array
- clone-array-deep
- clone-buffer
- clone-date
- clone-deep
- clone-object
- clone-object-deep
- clone-reg-exp
- clone-regex
- View more
Compare objects and return whether they are equal according to a recursive equality algorithm. This module is around 6 - 9% faster then similiar modules. Works for both NodejS and the browser.
🔱 Odin is an Object wrapper that allows you to create objects and set their attributes - all at once! 🔺
Test for shallow equality between two objects or arrays.
Compare specified properties between two objects.
Utilities for shallow comparisons, particularly for React optimisation
React Hooks for shallow rendering
Shallow and recursively (deep) clone JavaScript objects that handles circular references
- array
- assign
- buffer
- clamped
- clone
- clone-array
- clone-array-deep
- clone-buffer
- clone-date
- clone-deep
- clone-map
- clone-object
- clone-object-deep
- clone-reg-exp
- View more
Returns a new array comprised of the given array's contents with the given value appended.
Make react shouldComponentUpdate check if props/state/context are shallowly changed by default
Utility for generic shallow copies and instances creation.
Assign properties of multiple [target] objects to a source object.
A helper for mocking react router v4 context and childContextTypes when testing components with Enzyme mount() and shallow().
compare two objects or arrays and return the diff (add/updated/removed/unchanged)
Chai Shallow Deep Equal for Karma
Mock React components to noops with Jest.
- react
- react-testing-library
- @testing-library/react
- testing-library
- mock
- jest
- noop
- component
- mount
- shallow
- enzyme