You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace Travis CI badge with GitHub Actions badge
- Update install examples to show pnpm first
- Change usage example to ESM import syntax
- Add TypeScript usage section with Comparator type example
- Update development section with pnpm and Make commands
- Update prerequisites to Node.js v18+ and pnpm
returnundefined; // Fall back to default comparison
55
+
};
56
+
57
+
shallowequal({ a: 1 }, { a: 1 }, customCompare);
58
+
// → true
59
+
```
60
+
45
61
## Credit
46
62
47
63
Code for `shallowEqual` originated from https://github.com/gaearon/react-pure-render/ and has since been refactored to have the exact same API as `lodash.isEqualWith` (as of `v4.17.4`).
48
64
49
65
## Development
50
66
51
-
-`node.js` and `npm`. See: https://github.com/creationix/nvm#installation
0 commit comments