Home / Function/ pruneAlwaysInvalidatingScopes() — react Function Reference

pruneAlwaysInvalidatingScopes() — react Function Reference

Architecture documentation for the pruneAlwaysInvalidatingScopes() function in PruneAlwaysInvalidatingScopes.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  7fe4c255_3762_be46_9c6c_54208a33ee4d["pruneAlwaysInvalidatingScopes()"]
  fec8c712_326d_ff8d_0b77_541838e68d7b["PruneAlwaysInvalidatingScopes.ts"]
  7fe4c255_3762_be46_9c6c_54208a33ee4d -->|defined in| fec8c712_326d_ff8d_0b77_541838e68d7b
  c3bc3875_256f_8f5e_7800_2f9c5bae65eb["runWithEnvironment()"]
  c3bc3875_256f_8f5e_7800_2f9c5bae65eb -->|calls| 7fe4c255_3762_be46_9c6c_54208a33ee4d
  style 7fe4c255_3762_be46_9c6c_54208a33ee4d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PruneAlwaysInvalidatingScopes.ts lines 27–29

export function pruneAlwaysInvalidatingScopes(fn: ReactiveFunction): void {
  visitReactiveFunction(fn, new Transform(), false);
}

Domain

Subdomains

Frequently Asked Questions

What does pruneAlwaysInvalidatingScopes() do?
pruneAlwaysInvalidatingScopes() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PruneAlwaysInvalidatingScopes.ts.
Where is pruneAlwaysInvalidatingScopes() defined?
pruneAlwaysInvalidatingScopes() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/PruneAlwaysInvalidatingScopes.ts at line 27.
What calls pruneAlwaysInvalidatingScopes()?
pruneAlwaysInvalidatingScopes() is called by 1 function(s): runWithEnvironment.

Analyze Your Own Codebase

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

Try Supermodel Free