Home / File/ index.ts — react Source File

index.ts — react Source File

Architecture documentation for index.ts, a typescript file in the react codebase. 2 imports, 1 dependents.

File typescript BabelCompiler 2 imports 1 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  6ac54a3f_a69d_fd38_4990_8c55e48a4c31["index.ts"]
  f3b73a1d_8eeb_a8b2_a886_c8b8c2f58490["BabelPlugin.ts"]
  6ac54a3f_a69d_fd38_4990_8c55e48a4c31 --> f3b73a1d_8eeb_a8b2_a886_c8b8c2f58490
  8b3d020f_cfed_25b4_5f08_f8818958ca03["BabelPluginReactCompiler"]
  6ac54a3f_a69d_fd38_4990_8c55e48a4c31 --> 8b3d020f_cfed_25b4_5f08_f8818958ca03
  31852c9d_8c83_1f8e_95cd_6c7f2775ba56["validateNoUseBeforeDefine.ts"]
  31852c9d_8c83_1f8e_95cd_6c7f2775ba56 --> 6ac54a3f_a69d_fd38_4990_8c55e48a4c31
  style 6ac54a3f_a69d_fd38_4990_8c55e48a4c31 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

export {runBabelPluginReactCompiler} from './Babel/RunReactCompilerBabelPlugin';
export {
  CompilerError,
  CompilerErrorDetail,
  CompilerDiagnostic,
  CompilerSuggestionOperation,
  ErrorSeverity,
  ErrorCategory,
  LintRules,
  LintRulePreset,
  type CompilerErrorDetailOptions,
  type CompilerDiagnosticOptions,
  type CompilerDiagnosticDetail,
  type LintRule,
} from './CompilerError';
export {
  compileFn as compile,
  compileProgram,
  parsePluginOptions,
  OPT_OUT_DIRECTIVES,
  OPT_IN_DIRECTIVES,
  ProgramContext,
  tryFindDirectiveEnablingMemoization as findDirectiveEnablingMemoization,
  findDirectiveDisablingMemoization,
  defaultOptions,
  type CompilerPipelineValue,
  type Logger,
  type LoggerEvent,
  type PluginOptions,
  type AutoDepsDecorationsEvent,
  type CompileSuccessEvent,
} from './Entrypoint';
export {
  Effect,
  ValueKind,
  ValueReason,
  printHIR,
  printFunctionWithOutlined,
  validateEnvironmentConfig,
  type EnvironmentConfig,
  type ExternalFunction,
  type Hook,
  type SourceLocation,
} from './HIR';
export {
  printReactiveFunction,
  printReactiveFunctionWithOutlined,
} from './ReactiveScopes';
export {parseConfigPragmaForTests} from './Utils/TestUtils';
declare global {
  // @internal
  let __DEV__: boolean | null | undefined;
}

import BabelPluginReactCompiler from './Babel/BabelPlugin';
export default BabelPluginReactCompiler;

Domain

Classes

Frequently Asked Questions

What does index.ts do?
index.ts is a source file in the react codebase, written in typescript. It belongs to the BabelCompiler domain.
What does index.ts depend on?
index.ts imports 2 module(s): BabelPlugin.ts, BabelPluginReactCompiler.
What files import index.ts?
index.ts is imported by 1 file(s): validateNoUseBeforeDefine.ts.
Where is index.ts in the architecture?
index.ts is located at compiler/packages/babel-plugin-react-compiler/src/index.ts (domain: BabelCompiler, directory: compiler/packages/babel-plugin-react-compiler/src).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free