MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / describeComponentFrame

Function describeComponentFrame

code/new-context-api/public/app.js:3206–3208  ·  view source on GitHub ↗
(name, source, ownerName)

Source from the content-addressed store, hash-verified

3204var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
3205
3206var describeComponentFrame = function (name, source, ownerName) {
3207 return '\n in ' + (name || 'Unknown') + (source ? ' (at ' + source.fileName.replace(/^.*[\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');
3208};
3209
3210// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
3211// nor polyfill, then a plain number is used for performance.

Callers 2

describeFiberFunction · 0.70
app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected