Home / Function/ withFunctionScope.enter() — react Function Reference

withFunctionScope.enter() — react Function Reference

Architecture documentation for the withFunctionScope.enter() function in FindContextIdentifiers.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  83df22e8_9c6a_0b43_88f7_f53298b51595["withFunctionScope.enter()"]
  a8683125_42ac_e9cd_3e85_739b8a5c0c4c["FindContextIdentifiers.ts"]
  83df22e8_9c6a_0b43_88f7_f53298b51595 -->|defined in| a8683125_42ac_e9cd_3e85_739b8a5c0c4c
  073c81a5_c389_d108_5b8f_4d6dc6eece83["push()"]
  83df22e8_9c6a_0b43_88f7_f53298b51595 -->|calls| 073c81a5_c389_d108_5b8f_4d6dc6eece83
  style 83df22e8_9c6a_0b43_88f7_f53298b51595 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/FindContextIdentifiers.ts lines 36–41

  enter: function (
    path: BabelFunction,
    state: FindContextIdentifierState,
  ): void {
    state.currentFn.push(path);
  },

Subdomains

Calls

Frequently Asked Questions

What does withFunctionScope.enter() do?
withFunctionScope.enter() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/FindContextIdentifiers.ts.
Where is withFunctionScope.enter() defined?
withFunctionScope.enter() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/FindContextIdentifiers.ts at line 36.
What does withFunctionScope.enter() call?
withFunctionScope.enter() calls 1 function(s): push.

Analyze Your Own Codebase

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

Try Supermodel Free