MCPcopy Index your code
hub / github.com/react/react / render

Method render

packages/react-reconciler/src/__tests__/ReactUse-test.js:1343–1346  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1341 it('async child of a non-function component (e.g. a class)', async () => {
1342 class App extends React.Component {
1343 async render() {
1344 const text = await getAsyncText('Hi');
1345 return <Text text={text} />;
1346 }
1347 }
1348
1349 const root = ReactNoop.createRoot();

Callers

nothing calls this directly

Calls 1

getAsyncTextFunction · 0.85

Tested by

no test coverage detected