MCPcopy Create free account
hub / github.com/caseywebdev/react-list / isEqualSubset

Function isEqualSubset

src/react-list.js:39–43  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

37const MAX_SYNC_UPDATES = 40;
38
39const isEqualSubset = (a, b) => {
40 for (const key in b) if (a[key] !== b[key]) return false;
41
42 return true;
43};
44
45const defaultScrollParentGetter = component => {
46 const { axis } = component.props;

Callers 1

maybeSetStateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…