Home / File/ repro-separately-memoized-fbt-param.js — react Source File

repro-separately-memoized-fbt-param.js — react Source File

Architecture documentation for repro-separately-memoized-fbt-param.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
  11b57ff8_de5f_d726_478e_7f9593693051["repro-separately-memoized-fbt-param.js"]
  2db15464_200a_540f_8671_b62de113ab09["fbt"]
  11b57ff8_de5f_d726_478e_7f9593693051 --> 2db15464_200a_540f_8671_b62de113ab09
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  11b57ff8_de5f_d726_478e_7f9593693051 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  style 11b57ff8_de5f_d726_478e_7f9593693051 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {fbt} from 'fbt';
import {useState} from 'react';

const MIN = 10;

function Component() {
  const [count, setCount] = useState(0);

  return fbt(
    'Expected at least ' +
      fbt.param('min', MIN, {number: true}) +
      ' items, but got ' +
      fbt.param('count', count, {number: true}) +
      ' items.',
    'Error description'
  );
}

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

Subdomains

Functions

Dependencies

  • fbt
  • react

Frequently Asked Questions

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