Home / File/ reassigned-fnexpr-variable.js — react Source File

reassigned-fnexpr-variable.js — react Source File

Architecture documentation for reassigned-fnexpr-variable.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  025107ff_466b_8351_e9da_3593a257054f["reassigned-fnexpr-variable.js"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  025107ff_466b_8351_e9da_3593a257054f --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  style 025107ff_466b_8351_e9da_3593a257054f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @gating
import * as React from 'react';

/**
 * Test that the correct `Foo` is printed
 */
let Foo = () => <div>hello world 1!</div>;
const MemoOne = React.memo(Foo);
Foo = () => <div>hello world 2!</div>;
const MemoTwo = React.memo(Foo);

export const FIXTURE_ENTRYPOINT = {
  fn: () => {
    'use no memo';
    return (
      <>
        <MemoOne />
        <MemoTwo />
      </>
    );
  },
  params: [],
};

Subdomains

Dependencies

  • react

Frequently Asked Questions

What does reassigned-fnexpr-variable.js do?
reassigned-fnexpr-variable.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 reassigned-fnexpr-variable.js?
reassigned-fnexpr-variable.js defines 2 function(s): FIXTURE_ENTRYPOINT.fn, Foo.
What does reassigned-fnexpr-variable.js depend on?
reassigned-fnexpr-variable.js imports 1 module(s): react.
Where is reassigned-fnexpr-variable.js in the architecture?
reassigned-fnexpr-variable.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/gating/reassigned-fnexpr-variable.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/gating).

Analyze Your Own Codebase

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

Try Supermodel Free