context-variable-reassigned-objectmethod.js — react Source File
Architecture documentation for context-variable-reassigned-objectmethod.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7e912cc4_4abb_d19e_0afb_81e96cf0ac75["context-variable-reassigned-objectmethod.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 7e912cc4_4abb_d19e_0afb_81e96cf0ac75 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 7e912cc4_4abb_d19e_0afb_81e96cf0ac75 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {invoke} from 'shared-runtime';
function Component({cond}) {
let x = 2;
const obj = {
method(cond) {
if (cond) {
x = 4;
}
},
};
invoke(obj.method, cond);
return x;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{cond: true}],
};
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does context-variable-reassigned-objectmethod.js do?
context-variable-reassigned-objectmethod.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 context-variable-reassigned-objectmethod.js?
context-variable-reassigned-objectmethod.js defines 1 function(s): Component.
What does context-variable-reassigned-objectmethod.js depend on?
context-variable-reassigned-objectmethod.js imports 1 module(s): shared-runtime.
Where is context-variable-reassigned-objectmethod.js in the architecture?
context-variable-reassigned-objectmethod.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/context-variable-reassigned-objectmethod.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