Home / File/ index.ts — react Source File

index.ts — react Source File

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

Entity Profile

Dependency Diagram

graph LR
  0291e079_1c14_3cf3_45da_30767ab28e42["index.ts"]
  e3cfc07a_10c8_5dcd_e270_e8e14c29309b["Pipeline.ts"]
  e3cfc07a_10c8_5dcd_e270_e8e14c29309b --> 0291e079_1c14_3cf3_45da_30767ab28e42
  9aa4477d_960b_1ea1_b6d9_36076aaa70bd["Program.ts"]
  9aa4477d_960b_1ea1_b6d9_36076aaa70bd --> 0291e079_1c14_3cf3_45da_30767ab28e42
  212338a1_d579_40dc_af88_824802fa3262["AnalyseFunctions.ts"]
  212338a1_d579_40dc_af88_824802fa3262 --> 0291e079_1c14_3cf3_45da_30767ab28e42
  87d539e4_ec1f_2367_e9d4_b39778249318["ValidateSourceLocations.ts"]
  87d539e4_ec1f_2367_e9d4_b39778249318 --> 0291e079_1c14_3cf3_45da_30767ab28e42
  style 0291e079_1c14_3cf3_45da_30767ab28e42 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 {alignObjectMethodScopes} from './AlignObjectMethodScopes';
export {assertScopeInstructionsWithinScopes} from './AssertScopeInstructionsWithinScope';
export {assertWellFormedBreakTargets} from './AssertWellFormedBreakTargets';
export {buildReactiveFunction} from './BuildReactiveFunction';
export {codegenFunction, type CodegenFunction} from './CodegenReactiveFunction';
export {extractScopeDeclarationsFromDestructuring} from './ExtractScopeDeclarationsFromDestructuring';
export {inferReactiveScopeVariables} from './InferReactiveScopeVariables';
export {memoizeFbtAndMacroOperandsInSameScope} from './MemoizeFbtAndMacroOperandsInSameScope';
export {mergeReactiveScopesThatInvalidateTogether} from './MergeReactiveScopesThatInvalidateTogether';
export {
  printReactiveFunction,
  printReactiveFunctionWithOutlined,
} from './PrintReactiveFunction';
export {promoteUsedTemporaries} from './PromoteUsedTemporaries';
export {propagateEarlyReturns} from './PropagateEarlyReturns';
export {pruneAllReactiveScopes} from './PruneAllReactiveScopes';
export {pruneHoistedContexts} from './PruneHoistedContexts';
export {pruneNonEscapingScopes} from './PruneNonEscapingScopes';
export {pruneNonReactiveDependencies} from './PruneNonReactiveDependencies';
export {pruneUnusedLValues} from './PruneTemporaryLValues';
export {pruneUnusedLabels} from './PruneUnusedLabels';
export {pruneUnusedScopes} from './PruneUnusedScopes';
export {renameVariables} from './RenameVariables';
export {stabilizeBlockIds} from './StabilizeBlockIds';
export {
  ReactiveFunctionTransform,
  eachReactiveValueOperand,
  visitReactiveFunction,
  type Transformed,
} from './visitors';

Domain

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 files import index.ts?
index.ts is imported by 4 file(s): AnalyseFunctions.ts, Pipeline.ts, Program.ts, ValidateSourceLocations.ts.
Where is index.ts in the architecture?
index.ts is located at compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/index.ts (domain: BabelCompiler, directory: compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes).

Analyze Your Own Codebase

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

Try Supermodel Free