commitShowHideSuspenseBoundary() — react Function Reference
Architecture documentation for the commitShowHideSuspenseBoundary() function in ReactFiberCommitHostEffects.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD a941f9d5_1e5c_8d26_0d9c_5418d807d044["commitShowHideSuspenseBoundary()"] d39520cc_fe89_c0bc_424d_91bccdb79a69["ReactFiberCommitHostEffects.js"] a941f9d5_1e5c_8d26_0d9c_5418d807d044 -->|defined in| d39520cc_fe89_c0bc_424d_91bccdb79a69 b736db36_056d_4f77_968a_91554fd127f9["hideOrUnhideAllChildrenOnFiber()"] b736db36_056d_4f77_968a_91554fd127f9 -->|calls| a941f9d5_1e5c_8d26_0d9c_5418d807d044 style a941f9d5_1e5c_8d26_0d9c_5418d807d044 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberCommitHostEffects.js lines 182–201
export function commitShowHideSuspenseBoundary(node: Fiber, isHidden: boolean) {
try {
const instance = node.stateNode;
if (isHidden) {
if (__DEV__) {
runWithFiberInDEV(node, hideDehydratedBoundary, instance);
} else {
hideDehydratedBoundary(instance);
}
} else {
if (__DEV__) {
runWithFiberInDEV(node, unhideDehydratedBoundary, node.stateNode);
} else {
unhideDehydratedBoundary(node.stateNode);
}
}
} catch (error) {
captureCommitPhaseError(node, node.return, error);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does commitShowHideSuspenseBoundary() do?
commitShowHideSuspenseBoundary() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberCommitHostEffects.js.
Where is commitShowHideSuspenseBoundary() defined?
commitShowHideSuspenseBoundary() is defined in packages/react-reconciler/src/ReactFiberCommitHostEffects.js at line 182.
What calls commitShowHideSuspenseBoundary()?
commitShowHideSuspenseBoundary() is called by 1 function(s): hideOrUnhideAllChildrenOnFiber.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free