mountActivityChildren() — react Function Reference
Architecture documentation for the mountActivityChildren() function in ReactFiberBeginWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 6e745d66_1946_5b98_1eeb_037e1c878b67["mountActivityChildren()"] 0be70812_cc0c_b210_f84f_8e61dd5f831c["ReactFiberBeginWork.js"] 6e745d66_1946_5b98_1eeb_037e1c878b67 -->|defined in| 0be70812_cc0c_b210_f84f_8e61dd5f831c b02f5205_6c96_0d34_5a3b_8331d512b06c["retryActivityComponentWithoutHydrating()"] b02f5205_6c96_0d34_5a3b_8331d512b06c -->|calls| 6e745d66_1946_5b98_1eeb_037e1c878b67 e42a80e0_6c61_140d_2260_b8b8319dc664["updateDehydratedActivityComponent()"] e42a80e0_6c61_140d_2260_b8b8319dc664 -->|calls| 6e745d66_1946_5b98_1eeb_037e1c878b67 7ace11c1_e82a_4a1b_c698_6bb1566f0ae0["updateActivityComponent()"] 7ace11c1_e82a_4a1b_c698_6bb1566f0ae0 -->|calls| 6e745d66_1946_5b98_1eeb_037e1c878b67 9a90515d_1b46_45ee_c1be_ce882bad30b7["mountWorkInProgressOffscreenFiber()"] 6e745d66_1946_5b98_1eeb_037e1c878b67 -->|calls| 9a90515d_1b46_45ee_c1be_ce882bad30b7 style 6e745d66_1946_5b98_1eeb_037e1c878b67 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberBeginWork.js lines 890–927
function mountActivityChildren(
workInProgress: Fiber,
nextProps: ActivityProps,
renderLanes: Lanes,
) {
if (__DEV__) {
const hiddenProp = (nextProps: any).hidden;
if (hiddenProp !== undefined) {
console.error(
'<Activity> doesn\'t accept a hidden prop. Use mode="hidden" instead.\n' +
'- <Activity %s>\n' +
'+ <Activity %s>',
hiddenProp === true
? 'hidden'
: hiddenProp === false
? 'hidden={false}'
: 'hidden={...}',
hiddenProp ? 'mode="hidden"' : 'mode="visible"',
);
}
}
const nextChildren = nextProps.children;
const nextMode = nextProps.mode;
const mode = workInProgress.mode;
const offscreenChildProps: OffscreenProps = {
mode: nextMode,
children: nextChildren,
};
const primaryChildFragment = mountWorkInProgressOffscreenFiber(
offscreenChildProps,
mode,
renderLanes,
);
primaryChildFragment.ref = workInProgress.ref;
workInProgress.child = primaryChildFragment;
primaryChildFragment.return = workInProgress;
return primaryChildFragment;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does mountActivityChildren() do?
mountActivityChildren() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberBeginWork.js.
Where is mountActivityChildren() defined?
mountActivityChildren() is defined in packages/react-reconciler/src/ReactFiberBeginWork.js at line 890.
What does mountActivityChildren() call?
mountActivityChildren() calls 1 function(s): mountWorkInProgressOffscreenFiber.
What calls mountActivityChildren()?
mountActivityChildren() is called by 3 function(s): retryActivityComponentWithoutHydrating, updateActivityComponent, updateDehydratedActivityComponent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free