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

Function canHavePreamble

packages/react-dom-bindings/src/server/ReactFizzConfigDOM.js:830–832  ·  view source on GitHub ↗
(formatContext: FormatContext)

Source from the content-addressed store, hash-verified

828}
829
830export function canHavePreamble(formatContext: FormatContext): boolean {
831 return formatContext.insertionMode < HTML_MODE;
832}
833
834export function createRootFormatContext(namespaceURI?: string): FormatContext {
835 const insertionMode =

Callers 2

renderSuspenseBoundaryFunction · 0.90
replaySuspenseBoundaryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected