Home / File/ reactive-dependency-nonreactive-captured-with-reactive.js — react Source File

reactive-dependency-nonreactive-captured-with-reactive.js — react Source File

Architecture documentation for reactive-dependency-nonreactive-captured-with-reactive.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function Component(props) {
  const x = {};
  const y = props.y;
  return [x, y]; // x is captured here along with a reactive value. this shouldn't make `x` reactive!
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{y: 42}],
};

Subdomains

Functions

Frequently Asked Questions

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