MCPcopy Index your code
hub / github.com/plotly/dash / checkDepsAreArrayDev

Function checkDepsAreArrayDev

dash/deps/react-dom@18.2.0.js:16195–16203  ·  view source on GitHub ↗
(deps)

Source from the content-addressed store, hash-verified

16193 }
16194
16195 function checkDepsAreArrayDev(deps) {
16196 {
16197 if (deps !== undefined && deps !== null && !isArray(deps)) {
16198 // Verify deps, but only on mount to avoid extra checks.
16199 // It's unlikely their type would change as usually you define them inline.
16200 error('%s received a final argument that is not an array (instead, received `%s`). When ' + 'specified, the final argument must be an array.', currentHookNameInDev, typeof deps);
16201 }
16202 }
16203 }
16204
16205 function warnOnHookMismatchInDev(currentHookName) {
16206 {

Callers 1

Calls 2

isArrayFunction · 0.70
errorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…