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

Function areHookInputsEqual

docs/index.js:7167–7172  ·  view source on GitHub ↗
(nextDeps, prevDeps)

Source from the content-addressed store, hash-verified

7165 throw Error(formatProdErrorMessage(321));
7166}
7167function areHookInputsEqual(nextDeps, prevDeps) {
7168 if (null === prevDeps) return !1;
7169 for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)
7170 if (!objectIs(nextDeps[i], prevDeps[i])) return !1;
7171 return !0;
7172}
7173function renderWithHooks(
7174 current,
7175 workInProgress,

Callers 3

updateEffectImplFunction · 0.85
updateCallbackFunction · 0.85
updateMemoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…