getChildFormatContext() — react Function Reference
Architecture documentation for the getChildFormatContext() function in ReactFlightServerConfigDOM.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 9360b73c_75e2_8c52_a5d5_4a59c8b52f88["getChildFormatContext()"] 6a345571_3d83_3185_49d0_7a711dbada16["ReactFlightServerConfigDOM.js"] 9360b73c_75e2_8c52_a5d5_4a59c8b52f88 -->|defined in| 6a345571_3d83_3185_49d0_7a711dbada16 c25cc9dd_9733_fd7f_1dc4_c0bd5ca3eb28["processImg()"] 9360b73c_75e2_8c52_a5d5_4a59c8b52f88 -->|calls| c25cc9dd_9733_fd7f_1dc4_c0bd5ca3eb28 78c0b34d_376b_0a53_bd61_cf3b12c49526["processLink()"] 9360b73c_75e2_8c52_a5d5_4a59c8b52f88 -->|calls| 78c0b34d_376b_0a53_bd61_cf3b12c49526 style 9360b73c_75e2_8c52_a5d5_4a59c8b52f88 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-dom-bindings/src/server/ReactFlightServerConfigDOM.js lines 186–205
export function getChildFormatContext(
parentContext: FormatContext,
type: string,
props: Object,
): FormatContext {
switch (type) {
case 'img':
processImg(props, parentContext);
return parentContext;
case 'link':
processLink(props, parentContext);
return parentContext;
case 'picture':
return parentContext | PICTURE_SCOPE;
case 'noscript':
return parentContext | NOSCRIPT_SCOPE;
default:
return parentContext;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getChildFormatContext() do?
getChildFormatContext() is a function in the react codebase, defined in packages/react-dom-bindings/src/server/ReactFlightServerConfigDOM.js.
Where is getChildFormatContext() defined?
getChildFormatContext() is defined in packages/react-dom-bindings/src/server/ReactFlightServerConfigDOM.js at line 186.
What does getChildFormatContext() call?
getChildFormatContext() calls 2 function(s): processImg, processLink.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free