Home / Function/ startBlock() — react Function Reference

startBlock() — react Function Reference

Architecture documentation for the startBlock() function in EnterSSA.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  978204e9_69a1_fb3c_25d5_8786bc240205["startBlock()"]
  f11adc00_6af6_2575_4ee8_974e26f2a6ed["SSABuilder"]
  978204e9_69a1_fb3c_25d5_8786bc240205 -->|defined in| f11adc00_6af6_2575_4ee8_974e26f2a6ed
  8ec30eb2_4622_378f_f538_3070f7a38fae["enterSSAImpl()"]
  8ec30eb2_4622_378f_f538_3070f7a38fae -->|calls| 978204e9_69a1_fb3c_25d5_8786bc240205
  style 978204e9_69a1_fb3c_25d5_8786bc240205 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts lines 210–216

  startBlock(block: BasicBlock): void {
    this.#current = block;
    this.#states.set(block, {
      defs: new Map(),
      incompletePhis: [],
    });
  }

Subdomains

Called By

Frequently Asked Questions

What does startBlock() do?
startBlock() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts.
Where is startBlock() defined?
startBlock() is defined in compiler/packages/babel-plugin-react-compiler/src/SSA/EnterSSA.ts at line 210.
What calls startBlock()?
startBlock() is called by 1 function(s): enterSSAImpl.

Analyze Your Own Codebase

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

Try Supermodel Free