error.mutable-range-shared-inner-outer-function.js — react Source File
Architecture documentation for error.mutable-range-shared-inner-outer-function.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
// @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions
let cond = true;
function Component(props) {
let a;
let b;
const f = () => {
if (cond) {
a = {};
b = [];
} else {
a = {};
b = [];
}
a.property = true;
b.push(false);
};
return <div onClick={f} />;
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{}],
};
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does error.mutable-range-shared-inner-outer-function.js do?
error.mutable-range-shared-inner-outer-function.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 error.mutable-range-shared-inner-outer-function.js?
error.mutable-range-shared-inner-outer-function.js defines 1 function(s): Component.
Where is error.mutable-range-shared-inner-outer-function.js in the architecture?
error.mutable-range-shared-inner-outer-function.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.mutable-range-shared-inner-outer-function.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