MCPcopy Create free account
hub / github.com/microsoft/SandDance / setCurrentlyValidatingElement

Function setCurrentlyValidatingElement

docs/external/js/react.development.js:297–301  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

295 var ReactDebugCurrentFrame = {};
296 var currentlyValidatingElement = null;
297 function setCurrentlyValidatingElement(element) {
298 {
299 currentlyValidatingElement = element;
300 }
301 }
302
303 {
304 // Stack implementation injected by the current renderer.

Callers 3

validateExplicitKeyFunction · 0.85
validatePropTypesFunction · 0.85
validateFragmentPropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected