Equivalent to React's internal shallowEqual, allowing external access to React's shallowEqual function.
npm install external-shallow-equal!NPM Version !Minizipped Size !Downloads !FOSSA Status
``bash`
npm i external-shallow-equal
`typescript
import { shallowEqual } from "external-shallow-equal";
shallowEqual(0, -0); // false
shallowEqual(NaN, NaN); // true
shallowEqual([1, 2, 3], [1, 2, 3]); // true
``