Home / File/ unlabeled-break-within-label-loop.ts — react Source File

unlabeled-break-within-label-loop.ts — react Source File

Architecture documentation for unlabeled-break-within-label-loop.ts, a typescript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function useHook(end) {
  const log = [];
  for (let i = 0; i < end + 1; i++) {
    log.push(`${i} @A`);
    bb0: {
      if (i === end) {
        break;
      }
      log.push(`${i} @B`);
    }
    log.push(`${i} @C`);
  }
  return log;
}

export const FIXTURE_ENTRYPOINT = {
  fn: useHook,
  params: [1],
};

Subdomains

Functions

Frequently Asked Questions

What does unlabeled-break-within-label-loop.ts do?
unlabeled-break-within-label-loop.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 unlabeled-break-within-label-loop.ts?
unlabeled-break-within-label-loop.ts defines 1 function(s): useHook.
Where is unlabeled-break-within-label-loop.ts in the architecture?
unlabeled-break-within-label-loop.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/unlabeled-break-within-label-loop.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