Home / Function/ mountDehydratedActivityComponent() — react Function Reference

mountDehydratedActivityComponent() — react Function Reference

Architecture documentation for the mountDehydratedActivityComponent() function in ReactFiberBeginWork.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  ccc8b502_3e7b_a95f_b43a_641c646f1930["mountDehydratedActivityComponent()"]
  0be70812_cc0c_b210_f84f_8e61dd5f831c["ReactFiberBeginWork.js"]
  ccc8b502_3e7b_a95f_b43a_641c646f1930 -->|defined in| 0be70812_cc0c_b210_f84f_8e61dd5f831c
  7ace11c1_e82a_4a1b_c698_6bb1566f0ae0["updateActivityComponent()"]
  7ace11c1_e82a_4a1b_c698_6bb1566f0ae0 -->|calls| ccc8b502_3e7b_a95f_b43a_641c646f1930
  style ccc8b502_3e7b_a95f_b43a_641c646f1930 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberBeginWork.js lines 962–973

function mountDehydratedActivityComponent(
  workInProgress: Fiber,
  activityInstance: ActivityInstance,
  renderLanes: Lanes,
): null | Fiber {
  // During the first pass, we'll bail out and not drill into the children.
  // Instead, we'll leave the content in place and try to hydrate it later.
  // We'll continue hydrating the rest at offscreen priority since we'll already
  // be showing the right content coming from the server, it is no rush.
  workInProgress.lanes = laneToLanes(OffscreenLane);
  return null;
}

Domain

Subdomains

Frequently Asked Questions

What does mountDehydratedActivityComponent() do?
mountDehydratedActivityComponent() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberBeginWork.js.
Where is mountDehydratedActivityComponent() defined?
mountDehydratedActivityComponent() is defined in packages/react-reconciler/src/ReactFiberBeginWork.js at line 962.
What calls mountDehydratedActivityComponent()?
mountDehydratedActivityComponent() is called by 1 function(s): updateActivityComponent.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free