Home / Function/ popMutationContext() — react Function Reference

popMutationContext() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7["popMutationContext()"]
  1a6f1ac9_f5f1_3a2e_6503_c920a4d4a8ae["ReactFiberMutationTracking.js"]
  e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7 -->|defined in| 1a6f1ac9_f5f1_3a2e_6503_c920a4d4a8ae
  14488ed6_0070_cb72_08ff_37fc5c860d29["recursivelyInsertNewFiber()"]
  14488ed6_0070_cb72_08ff_37fc5c860d29 -->|calls| e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7
  d5ea8670_901e_392b_55a7_640c298b5971["recursivelyInsertClonesFromExistingTree()"]
  d5ea8670_901e_392b_55a7_640c298b5971 -->|calls| e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7
  585297c1_5fbc_f778_b0fa_7f11968cec48["insertDestinationClonesOfFiber()"]
  585297c1_5fbc_f778_b0fa_7f11968cec48 -->|calls| e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7
  bc4a6de9_07dc_eca7_681a_10f692e08483["commitMutationEffectsOnFiber()"]
  bc4a6de9_07dc_eca7_681a_10f692e08483 -->|calls| e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7
  style e85c52cb_0e14_c3e5_2d41_fe535fe1ddf7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberMutationTracking.js lines 36–43

export function popMutationContext(prev: boolean): void {
  if (enableViewTransition) {
    if (viewTransitionMutationContext) {
      rootMutationContext = true;
    }
    viewTransitionMutationContext = prev;
  }
}

Domain

Subdomains

Frequently Asked Questions

What does popMutationContext() do?
popMutationContext() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberMutationTracking.js.
Where is popMutationContext() defined?
popMutationContext() is defined in packages/react-reconciler/src/ReactFiberMutationTracking.js at line 36.
What calls popMutationContext()?
popMutationContext() is called by 4 function(s): commitMutationEffectsOnFiber, insertDestinationClonesOfFiber, recursivelyInsertClonesFromExistingTree, recursivelyInsertNewFiber.

Analyze Your Own Codebase

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

Try Supermodel Free