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

Function getCurrentComponentErrorInfo

dash/deps/react@16.14.0.js:1769–1781  ·  view source on GitHub ↗
(parentType)

Source from the content-addressed store, hash-verified

1767 var ownerHasKeyUseWarning = {};
1768
1769 function getCurrentComponentErrorInfo(parentType) {
1770 var info = getDeclarationErrorAddendum();
1771
1772 if (!info) {
1773 var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;
1774
1775 if (parentName) {
1776 info = "\n\nCheck the top-level render call using <" + parentName + ">.";
1777 }
1778 }
1779
1780 return info;
1781 }
1782 /**
1783 * Warn if the element doesn't have an explicit key assigned to it.
1784 * 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…