Home / File/ outlined-destructured-params.js — react Source File

outlined-destructured-params.js — react Source File

Architecture documentation for outlined-destructured-params.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  8c8da67f_f254_8ea2_4562_2b7cedfcfec8["outlined-destructured-params.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  8c8da67f_f254_8ea2_4562_2b7cedfcfec8 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 8c8da67f_f254_8ea2_4562_2b7cedfcfec8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {Stringify} from 'shared-runtime';

function Component(props) {
  // test outlined functions with destructured parameters - the
  // temporary for the destructured param must be promoted
  return (
    <>
      {props.items.map(({id, name}) => (
        <Stringify key={id} name={name} />
      ))}
    </>
  );
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{items: [{id: 1, name: 'one'}]}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

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