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

Function getCurrentComponentErrorInfo

dash/deps/react@18.2.0.js:2129–2141  ·  view source on GitHub ↗
(parentType)

Source from the content-addressed store, hash-verified

2127 var ownerHasKeyUseWarning = {};
2128
2129 function getCurrentComponentErrorInfo(parentType) {
2130 var info = getDeclarationErrorAddendum();
2131
2132 if (!info) {
2133 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
2134
2135 if (parentName) {
2136 info = "\n\nCheck the top-level render call using <" + parentName + ">.";
2137 }
2138 }
2139
2140 return info;
2141 }
2142 /**
2143 * Warn if the element doesn't have an explicit key assigned to it.
2144 * This element is in an array. The array could grow and shrink or be

Callers 1

validateExplicitKeyFunction · 0.70

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…