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

Function App

packages/react-dom/src/__tests__/ReactDOMFizzShellHydration-test.js:173–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 const div = React.createRef(null);
172
173 function App() {
174 return (
175 <div ref={div}>
176 <AsyncText text="Shell" />
177 </div>
178 );
179 }
180
181 // Server render
182 await resolveText('Shell');

Callers

nothing calls this directly

Calls 1

useSyncExternalStoreFunction · 0.50

Tested by

no test coverage detected