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

Function Hanging

packages/react-dom/src/__tests__/ReactDOMFizzServer-test.js:9718–9721  ·  view source on GitHub ↗
({children})

Source from the content-addressed store, hash-verified

9716
9717 const hangingPromise = new Promise(() => {});
9718 function Hanging({children}) {
9719 use(hangingPromise);
9720 return children;
9721 }
9722
9723 function App() {
9724 return (

Callers

nothing calls this directly

Calls 1

useFunction · 0.50

Tested by

no test coverage detected