recursively-merge-scopes-jsx.js — react Source File
Architecture documentation for recursively-merge-scopes-jsx.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fffa7fbf_0563_3486_b61f_3491854fc43f["recursively-merge-scopes-jsx.js"] 2db15464_200a_540f_8671_b62de113ab09["fbt"] fffa7fbf_0563_3486_b61f_3491854fc43f --> 2db15464_200a_540f_8671_b62de113ab09 style fffa7fbf_0563_3486_b61f_3491854fc43f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// @flow
import {fbt} from 'fbt';
function Example({x}) {
// "Inner Text" needs to be visible to fbt: the <Bar> element cannot
// be memoized separately
return (
<fbt desc="Description">
Outer Text
<Foo key="b" x={x}>
<Bar key="a">Inner Text</Bar>
</Foo>
</fbt>
);
}
function Foo({x, children}) {
'use no memo';
return (
<>
<div>{x}</div>
<span>{children}</span>
</>
);
}
function Bar({children}) {
'use no memo';
return children;
}
export const FIXTURE_ENTRYPOINT = {
fn: Example,
params: [{x: 'Hello'}],
};
Domain
Subdomains
Dependencies
- fbt
Source
Frequently Asked Questions
What does recursively-merge-scopes-jsx.js do?
recursively-merge-scopes-jsx.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 recursively-merge-scopes-jsx.js?
recursively-merge-scopes-jsx.js defines 3 function(s): Bar, Example, Foo.
What does recursively-merge-scopes-jsx.js depend on?
recursively-merge-scopes-jsx.js imports 1 module(s): fbt.
Where is recursively-merge-scopes-jsx.js in the architecture?
recursively-merge-scopes-jsx.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/recursively-merge-scopes-jsx.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free