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

Function Shell

fixtures/flight/src/index.js:103–107  ·  view source on GitHub ↗
({data})

Source from the content-addressed store, hash-verified

101}
102
103function Shell({data}) {
104 const [root, setRoot] = useState(data);
105 updateRoot = setRoot;
106 return root;
107}
108
109async function hydrateApp() {
110 let response;

Callers

nothing calls this directly

Calls 1

useStateFunction · 0.90

Tested by

no test coverage detected