Home / File/ hoisted-function-declaration.js — react Source File

hoisted-function-declaration.js — react Source File

Architecture documentation for hoisted-function-declaration.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function component(a) {
  let t = {a};
  x(t); // hoisted call
  function x(p) {
    p.a.foo();
  }
  return t;
}

export const FIXTURE_ENTRYPOINT = {
  fn: component,
  params: [
    {
      foo: () => {
        console.log(42);
      },
    },
  ],
};

Subdomains

Functions

Frequently Asked Questions

What does hoisted-function-declaration.js do?
hoisted-function-declaration.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 hoisted-function-declaration.js?
hoisted-function-declaration.js defines 1 function(s): component.
Where is hoisted-function-declaration.js in the architecture?
hoisted-function-declaration.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/hoisted-function-declaration.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