MCPcopy
hub / github.com/facebook/react / B

Function B

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

Source from the content-addressed store, hash-verified

1849
1850 it('should include a component stack across suspended boundaries', async () => {
1851 function B() {
1852 const children = [readText('Hello'), readText('World')];
1853 // Intentionally trigger a key warning here.
1854 return (
1855 <div>
1856 {children.map(function mapper(t) {
1857 return <span>{t}</span>;
1858 })}
1859 </div>
1860 );
1861 }
1862 function C() {
1863 return (
1864 <inCorrectTag>

Callers

nothing calls this directly

Calls 2

readTextFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected