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

Function createThenableState

packages/react-server/src/ReactFizzThenable.js:39–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37);
38
39export function createThenableState(): ThenableState {
40 // The ThenableState is created the first time a component suspends. If it
41 // suspends again, we'll reuse the same state.
42 return [];
43}
44
45export function trackUsedThenable<T>(
46 thenableState: ThenableState,

Callers 1

unwrapThenableFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected