Home / File/ infer-no-component-annot.ts — react Source File

infer-no-component-annot.ts — react Source File

Architecture documentation for infer-no-component-annot.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
  6ceddc76_174a_d230_406e_53bef98f5c8d["infer-no-component-annot.ts"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  6ceddc76_174a_d230_406e_53bef98f5c8d --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 6ceddc76_174a_d230_406e_53bef98f5c8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @expectNothingCompiled @compilationMode:"infer"
import {useIdentity, identity} from 'shared-runtime';

function Component(fakeProps: number) {
  const x = useIdentity(fakeProps);
  return identity(x);
}

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

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

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