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

Function prepareToUseThenableState

packages/react-server/src/ReactFizzHooks.js:236–241  ·  view source on GitHub ↗
(
  prevThenableState: ThenableState | null,
)

Source from the content-addressed store, hash-verified

234}
235
236export function prepareToUseThenableState(
237 prevThenableState: ThenableState | null,
238): void {
239 thenableIndexCounter = 0;
240 thenableState = prevThenableState;
241}
242
243export function finishHooks(
244 Component: any,

Callers 2

renderSuspenseListFunction · 0.90
retryNodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected