hideOrUnhideAllChildren() — react Function Reference
Architecture documentation for the hideOrUnhideAllChildren() function in ReactFiberCommitWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 69ff3ebf_7601_0471_b0ed_24a539a28f0b["hideOrUnhideAllChildren()"] e0fbfbd5_47b0_a489_0b36_bbfad9245544["ReactFiberCommitWork.js"] 69ff3ebf_7601_0471_b0ed_24a539a28f0b -->|defined in| e0fbfbd5_47b0_a489_0b36_bbfad9245544 b736db36_056d_4f77_968a_91554fd127f9["hideOrUnhideAllChildrenOnFiber()"] b736db36_056d_4f77_968a_91554fd127f9 -->|calls| 69ff3ebf_7601_0471_b0ed_24a539a28f0b bc4a6de9_07dc_eca7_681a_10f692e08483["commitMutationEffectsOnFiber()"] bc4a6de9_07dc_eca7_681a_10f692e08483 -->|calls| 69ff3ebf_7601_0471_b0ed_24a539a28f0b b736db36_056d_4f77_968a_91554fd127f9["hideOrUnhideAllChildrenOnFiber()"] 69ff3ebf_7601_0471_b0ed_24a539a28f0b -->|calls| b736db36_056d_4f77_968a_91554fd127f9 style 69ff3ebf_7601_0471_b0ed_24a539a28f0b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberCommitWork.js lines 1183–1194
function hideOrUnhideAllChildren(parentFiber: Fiber, isHidden: boolean) {
if (!supportsMutation) {
return;
}
// Finds the nearest host component children and updates their visibility
// to either hidden or visible.
let child = parentFiber.child;
while (child !== null) {
hideOrUnhideAllChildrenOnFiber(child, isHidden);
child = child.sibling;
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does hideOrUnhideAllChildren() do?
hideOrUnhideAllChildren() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberCommitWork.js.
Where is hideOrUnhideAllChildren() defined?
hideOrUnhideAllChildren() is defined in packages/react-reconciler/src/ReactFiberCommitWork.js at line 1183.
What does hideOrUnhideAllChildren() call?
hideOrUnhideAllChildren() calls 1 function(s): hideOrUnhideAllChildrenOnFiber.
What calls hideOrUnhideAllChildren()?
hideOrUnhideAllChildren() is called by 2 function(s): commitMutationEffectsOnFiber, hideOrUnhideAllChildrenOnFiber.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free