Home / File/ hoisting-nested-block-statements.js — react Source File

hoisting-nested-block-statements.js — react Source File

Architecture documentation for hoisting-nested-block-statements.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2019094f_6809_c4e1_79ff_4a6a80796bee["hoisting-nested-block-statements.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  2019094f_6809_c4e1_79ff_4a6a80796bee --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 2019094f_6809_c4e1_79ff_4a6a80796bee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {print} from 'shared-runtime';

function hoisting(cond) {
  if (cond) {
    const x = 1;
    print(x);
  }

  const x = 2;
  print(x);
}

export const FIXTURE_ENTRYPOINT = {
  fn: hoisting,
  params: [false],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does hoisting-nested-block-statements.js do?
hoisting-nested-block-statements.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in hoisting-nested-block-statements.js?
hoisting-nested-block-statements.js defines 1 function(s): hoisting.
What does hoisting-nested-block-statements.js depend on?
hoisting-nested-block-statements.js imports 1 module(s): shared-runtime.
Where is hoisting-nested-block-statements.js in the architecture?
hoisting-nested-block-statements.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hoisting-nested-block-statements.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler).

Analyze Your Own Codebase

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

Try Supermodel Free