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

Function App

packages/react-dom/src/__tests__/ReactDOMRoot-test.js:67–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66 it('warn if a object is passed to root.render(...)', async () => {
67 function App() {
68 return 'Child';
69 }
70
71 const root = ReactDOMClient.createRoot(container);
72 root.render(<App />, {});

Callers

nothing calls this directly

Calls 1

useEffectFunction · 0.50

Tested by

no test coverage detected