Home / File/ shapes-object-key.ts — react Source File

shapes-object-key.ts — react Source File

Architecture documentation for shapes-object-key.ts, a typescript file in the react codebase. 1 imports, 0 dependents.

File typescript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  071a0d1a_d72f_3479_0138_cfdb2e41b008["shapes-object-key.ts"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  071a0d1a_d72f_3479_0138_cfdb2e41b008 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 071a0d1a_d72f_3479_0138_cfdb2e41b008 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {arrayPush} from 'shared-runtime';

function useFoo({a, b}) {
  const obj = {a};
  arrayPush(Object.keys(obj), b);
  return obj;
}
export const FIXTURE_ENTRYPOINT = {
  fn: useFoo,
  params: [{a: 2, b: 3}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does shapes-object-key.ts do?
shapes-object-key.ts is a source file in the react codebase, written in typescript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in shapes-object-key.ts?
shapes-object-key.ts defines 1 function(s): useFoo.
What does shapes-object-key.ts depend on?
shapes-object-key.ts imports 1 module(s): shared-runtime.
Where is shapes-object-key.ts in the architecture?
shapes-object-key.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/shapes-object-key.ts (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