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

Function getDeclarationErrorAddendum

dash/deps/react@18.2.0.js:2091–2101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2089 }
2090
2091 function getDeclarationErrorAddendum() {
2092 if (ReactCurrentOwner.current) {
2093 var name = getComponentNameFromType(ReactCurrentOwner.current.type);
2094
2095 if (name) {
2096 return '\n\nCheck the render method of `' + name + '`.';
2097 }
2098 }
2099
2100 return '';
2101 }
2102
2103 function getSourceInfoErrorAddendum(source) {
2104 if (source !== undefined) {

Callers 2

Calls 1

getComponentNameFromTypeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…