MCPcopy
hub / github.com/react/react / componentStack

Function componentStack

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js:185–189  ·  view source on GitHub ↗
(components)

Source from the content-addressed store, hash-verified

183 }
184
185 function componentStack(components) {
186 return components
187 .map(component => `\n in ${component} (at **)`)
188 .join('');
189 }
190
191 const bodyStartMatch = /<body(?:>| .*?>)/;
192 const headStartMatch = /<head(?:>| .*?>)/;

Callers 3

IndirectionFunction · 0.70
AppFunction · 0.70

Calls 2

joinMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected