Home / Function/ pushRootMutationContext() — react Function Reference

pushRootMutationContext() — react Function Reference

Architecture documentation for the pushRootMutationContext() function in ReactFiberMutationTracking.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  82dffb4f_5067_14c8_9f76_18d5be1ab6e1["pushRootMutationContext()"]
  1a6f1ac9_f5f1_3a2e_6503_c920a4d4a8ae["ReactFiberMutationTracking.js"]
  82dffb4f_5067_14c8_9f76_18d5be1ab6e1 -->|defined in| 1a6f1ac9_f5f1_3a2e_6503_c920a4d4a8ae
  bc4a6de9_07dc_eca7_681a_10f692e08483["commitMutationEffectsOnFiber()"]
  bc4a6de9_07dc_eca7_681a_10f692e08483 -->|calls| 82dffb4f_5067_14c8_9f76_18d5be1ab6e1
  style 82dffb4f_5067_14c8_9f76_18d5be1ab6e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberMutationTracking.js lines 18–25

export function pushRootMutationContext(): void {
  if (enableDefaultTransitionIndicator) {
    rootMutationContext = false;
  }
  if (enableViewTransition) {
    viewTransitionMutationContext = false;
  }
}

Domain

Subdomains

Frequently Asked Questions

What does pushRootMutationContext() do?
pushRootMutationContext() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberMutationTracking.js.
Where is pushRootMutationContext() defined?
pushRootMutationContext() is defined in packages/react-reconciler/src/ReactFiberMutationTracking.js at line 18.
What calls pushRootMutationContext()?
pushRootMutationContext() is called by 1 function(s): commitMutationEffectsOnFiber.

Analyze Your Own Codebase

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

Try Supermodel Free