markUpdate() — react Function Reference
Architecture documentation for the markUpdate() function in ReactFiberCompleteWork.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 62389190_5e71_b961_f5c1_ce663e236915["markUpdate()"] 6b05669d_2f09_63a5_e79f_0afc195f25a3["ReactFiberCompleteWork.js"] 62389190_5e71_b961_f5c1_ce663e236915 -->|defined in| 6b05669d_2f09_63a5_e79f_0afc195f25a3 3cccd78e_6f36_bda1_da89_ea302f4aca1a["updateHostContainer()"] 3cccd78e_6f36_bda1_da89_ea302f4aca1a -->|calls| 62389190_5e71_b961_f5c1_ce663e236915 17f65ca7_1e68_0419_b46a_9bf4b1b54b06["updateHostComponent()"] 17f65ca7_1e68_0419_b46a_9bf4b1b54b06 -->|calls| 62389190_5e71_b961_f5c1_ce663e236915 18c23582_bfc0_7788_1b51_ade9a9ec414c["updateHostText()"] 18c23582_bfc0_7788_1b51_ade9a9ec414c -->|calls| 62389190_5e71_b961_f5c1_ce663e236915 0b8db832_87fd_e560_8aa8_e2b319c81626["completeWork()"] 0b8db832_87fd_e560_8aa8_e2b319c81626 -->|calls| 62389190_5e71_b961_f5c1_ce663e236915 style 62389190_5e71_b961_f5c1_ce663e236915 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-reconciler/src/ReactFiberCompleteWork.js lines 199–201
function markUpdate(workInProgress: Fiber) {
workInProgress.flags |= Update;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does markUpdate() do?
markUpdate() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberCompleteWork.js.
Where is markUpdate() defined?
markUpdate() is defined in packages/react-reconciler/src/ReactFiberCompleteWork.js at line 199.
What calls markUpdate()?
markUpdate() is called by 4 function(s): completeWork, updateHostComponent, updateHostContainer, updateHostText.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free