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

Function throwOnInvalidObjectType

dash/deps/react-dom@18.2.0.js:14895–14898  ·  view source on GitHub ↗
(returnFiber, newChild)

Source from the content-addressed store, hash-verified

14893 }
14894
14895 function throwOnInvalidObjectType(returnFiber, newChild) {
14896 var childString = Object.prototype.toString.call(newChild);
14897 throw new Error("Objects are not valid as a React child (found: " + (childString === '[object Object]' ? 'object with keys {' + Object.keys(newChild).join(', ') + '}' : childString) + "). " + 'If you meant to render a collection of children, use an array ' + 'instead.');
14898 }
14899
14900 function warnOnFunctionType(returnFiber) {
14901 {

Callers 4

createChildFunction · 0.70
updateSlotFunction · 0.70
updateFromMapFunction · 0.70
reconcileChildFibersFunction · 0.70

Calls 1

keysMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…