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

Function App

packages/react-dom/src/__tests__/ReactDOMFizzForm-test.js:100–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 foo = formData.get('foo');
99 }
100 function App() {
101 return (
102 <form action={action} ref={ref}>
103 <input type="text" name="foo" defaultValue="bar" />
104 </form>
105 );
106 }
107
108 const stream = await serverAct(() =>
109 ReactDOMServer.renderToReadableStream(<App />),

Callers

nothing calls this directly

Calls 3

useFormStatusFunction · 0.50
useOptimisticFunction · 0.50
useActionStateFunction · 0.50

Tested by

no test coverage detected