MCPcopy Create free account
hub / github.com/plotly/dash / setCurrentlyValidatingElement

Function setCurrentlyValidatingElement

dash/deps/react-dom@18.3.1.js:11656–11666  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

11654 var ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;
11655
11656 function setCurrentlyValidatingElement(element) {
11657 {
11658 if (element) {
11659 var owner = element._owner;
11660 var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);
11661 ReactDebugCurrentFrame$1.setExtraStackFrame(stack);
11662 } else {
11663 ReactDebugCurrentFrame$1.setExtraStackFrame(null);
11664 }
11665 }
11666 }
11667
11668 function checkPropTypes(typeSpecs, values, location, componentName, element) {
11669 {

Callers 1

checkPropTypesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…