fbt-template-string-same-scope.js — react Source File
Architecture documentation for fbt-template-string-same-scope.js, a javascript file in the react codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 37bf0572_5795_86d9_e135_3f6bc90599a3["fbt-template-string-same-scope.js"] 2db15464_200a_540f_8671_b62de113ab09["fbt"] 37bf0572_5795_86d9_e135_3f6bc90599a3 --> 2db15464_200a_540f_8671_b62de113ab09 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"] 37bf0572_5795_86d9_e135_3f6bc90599a3 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05 style 37bf0572_5795_86d9_e135_3f6bc90599a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import fbt from 'fbt';
import {Stringify} from 'shared-runtime';
export function Component(props) {
let count = 0;
if (props.items) {
count = props.items.length;
}
return (
<Stringify>
{fbt(
`for ${fbt.param('count', count)} experiences`,
`Label for the number of items`,
{project: 'public'}
)}
</Stringify>
);
}
export const FIXTURE_ENTRYPOINT = {
fn: Component,
params: [{items: [1, 2, 3]}],
};
Domain
Subdomains
Functions
Dependencies
- fbt
- shared-runtime
Source
Frequently Asked Questions
What does fbt-template-string-same-scope.js do?
fbt-template-string-same-scope.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 fbt-template-string-same-scope.js?
fbt-template-string-same-scope.js defines 1 function(s): Component.
What does fbt-template-string-same-scope.js depend on?
fbt-template-string-same-scope.js imports 2 module(s): fbt, shared-runtime.
Where is fbt-template-string-same-scope.js in the architecture?
fbt-template-string-same-scope.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/fbt-template-string-same-scope.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