mountIncompleteFunctionComponent() — react Function Reference
Architecture documentation for the mountIncompleteFunctionComponent() function in ReactFiberBeginWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6["mountIncompleteFunctionComponent()"] 0be70812_cc0c_b210_f84f_8e61dd5f831c["ReactFiberBeginWork.js"] 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6 -->|defined in| 0be70812_cc0c_b210_f84f_8e61dd5f831c 235e1db1_02a4_912f_7d82_ea6636c850c0["beginWork()"] 235e1db1_02a4_912f_7d82_ea6636c850c0 -->|calls| 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6 365b3bf6_96da_115f_49cb_3cce0265b371["resetSuspendedCurrentOnMountInLegacyMode()"] 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6 -->|calls| 365b3bf6_96da_115f_49cb_3cce0265b371 50e17875_d138_1098_df3a_5e5668c9be3d["updateFunctionComponent()"] 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6 -->|calls| 50e17875_d138_1098_df3a_5e5668c9be3d style 00a9caf0_34fa_f3b2_0df5_823e58b3a1e6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberBeginWork.js lines 1402–1420
function mountIncompleteFunctionComponent(
_current: null | Fiber,
workInProgress: Fiber,
Component: any,
nextProps: any,
renderLanes: Lanes,
) {
resetSuspendedCurrentOnMountInLegacyMode(_current, workInProgress);
workInProgress.tag = FunctionComponent;
return updateFunctionComponent(
null,
workInProgress,
Component,
nextProps,
renderLanes,
);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does mountIncompleteFunctionComponent() do?
mountIncompleteFunctionComponent() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberBeginWork.js.
Where is mountIncompleteFunctionComponent() defined?
mountIncompleteFunctionComponent() is defined in packages/react-reconciler/src/ReactFiberBeginWork.js at line 1402.
What does mountIncompleteFunctionComponent() call?
mountIncompleteFunctionComponent() calls 2 function(s): resetSuspendedCurrentOnMountInLegacyMode, updateFunctionComponent.
What calls mountIncompleteFunctionComponent()?
mountIncompleteFunctionComponent() is called by 1 function(s): beginWork.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free