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

Function AsyncBody

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

Source from the content-addressed store, hash-verified

5263 );
5264 }
5265 function AsyncBody() {
5266 readText('body');
5267 return (
5268 <body data-bar="bar">
5269 <link rel="preload" as="style" href="foo" />
5270 hello
5271 </body>
5272 );
5273 }
5274 await act(() => {
5275 const {pipe} = renderToPipeableStream(
5276 <html data-html="html">

Callers

nothing calls this directly

Calls 1

readTextFunction · 0.70

Tested by

no test coverage detected