readonly-object-method-calls-mutable-lambda.js — react Source File
Architecture documentation for readonly-object-method-calls-mutable-lambda.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 22f60e5f_69a9_bca4_6140_43e2a755b5cb["readonly-object-method-calls-mutable-lambda.js"] 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 22f60e5f_69a9_bca4_6140_43e2a755b5cb --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 22f60e5f_69a9_bca4_6140_43e2a755b5cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {useFragment} from 'shared-runtime';
function Component(props) {
const x = makeObject();
const user = useFragment(
graphql`
fragment Component_user on User {
name
}
`,
props.user
);
const posts = user.timeline.posts.edges.nodes.map(node => {
x.y = true;
return <Post post={node} />;
});
posts.push({});
const count = posts.length;
foo(count);
return <>{posts}</>;
}
Domain
Subdomains
Functions
Dependencies
- shared-runtime
Source
Frequently Asked Questions
What does readonly-object-method-calls-mutable-lambda.js do?
readonly-object-method-calls-mutable-lambda.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 readonly-object-method-calls-mutable-lambda.js?
readonly-object-method-calls-mutable-lambda.js defines 1 function(s): Component.
What does readonly-object-method-calls-mutable-lambda.js depend on?
readonly-object-method-calls-mutable-lambda.js imports 1 module(s): shared-runtime.
Where is readonly-object-method-calls-mutable-lambda.js in the architecture?
readonly-object-method-calls-mutable-lambda.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/readonly-object-method-calls-mutable-lambda.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