Home / File/ fbt-call-complex-param-value.js — react Source File

fbt-call-complex-param-value.js — react Source File

Architecture documentation for fbt-call-complex-param-value.js, a javascript file in the react codebase. 2 imports, 0 dependents.

File javascript TestingUtilities Fixtures 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  148b08c6_0899_0b92_e75e_1b3745dfe05b["fbt-call-complex-param-value.js"]
  2db15464_200a_540f_8671_b62de113ab09["fbt"]
  148b08c6_0899_0b92_e75e_1b3745dfe05b --> 2db15464_200a_540f_8671_b62de113ab09
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  148b08c6_0899_0b92_e75e_1b3745dfe05b --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 148b08c6_0899_0b92_e75e_1b3745dfe05b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import fbt from 'fbt';
import {identity} from 'shared-runtime';

function Component(props) {
  const text = fbt(
    `Hello, ${fbt.param('(key) name', identity(props.name))}!`,
    '(description) Greeting'
  );
  return <div>{text}</div>;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{name: 'Sathya'}],
};

Subdomains

Functions

Dependencies

  • fbt
  • shared-runtime

Frequently Asked Questions

What does fbt-call-complex-param-value.js do?
fbt-call-complex-param-value.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-call-complex-param-value.js?
fbt-call-complex-param-value.js defines 1 function(s): Component.
What does fbt-call-complex-param-value.js depend on?
fbt-call-complex-param-value.js imports 2 module(s): fbt, shared-runtime.
Where is fbt-call-complex-param-value.js in the architecture?
fbt-call-complex-param-value.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/fbt-call-complex-param-value.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