Home / File/ hoist-destruct.js — react Source File

hoist-destruct.js — react Source File

Architecture documentation for hoist-destruct.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

//@flow
component Foo() {
  function foo() {
    return (
      <div>
        {a} {z} {y}
      </div>
    );
  }
  const [a, {x: z, y = 10}] = [1, {x: 2}];
  return foo();
}

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

Subdomains

Functions

Frequently Asked Questions

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