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

Function writeCompletedRoot

packages/react-markup/src/ReactFizzConfigMarkup.js:235–243  ·  view source on GitHub ↗
(
  destination: Destination,
  resumableState: ResumableState,
  renderState: RenderState,
  isComplete: boolean,
)

Source from the content-addressed store, hash-verified

233}
234
235export function writeCompletedRoot(
236 destination: Destination,
237 resumableState: ResumableState,
238 renderState: RenderState,
239 isComplete: boolean,
240): boolean {
241 // Markup doesn't have any bootstrap scripts nor shell completions.
242 return true;
243}
244
245export function hasSuspenseyContent(hoistableState: HoistableState): boolean {
246 // Never outline.

Callers 1

flushCompletedQueuesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected