Home / File/ try-catch-try-value-modified-in-catch-escaping.js — react Source File

try-catch-try-value-modified-in-catch-escaping.js — react Source File

Architecture documentation for try-catch-try-value-modified-in-catch-escaping.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

// @enablePropagateDepsInHIR
const {throwInput} = require('shared-runtime');

function Component(props) {
  let x;
  try {
    const y = [];
    y.push(props.y);
    throwInput(y);
  } catch (e) {
    e.push(props.e);
    x = e;
  }
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{y: 'foo', e: 'bar'}],
};

Subdomains

Functions

Frequently Asked Questions

What does try-catch-try-value-modified-in-catch-escaping.js do?
try-catch-try-value-modified-in-catch-escaping.js is a source file in the react codebase, written in javascript. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in try-catch-try-value-modified-in-catch-escaping.js?
try-catch-try-value-modified-in-catch-escaping.js defines 1 function(s): Component.
Where is try-catch-try-value-modified-in-catch-escaping.js in the architecture?
try-catch-try-value-modified-in-catch-escaping.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork/try-catch-try-value-modified-in-catch-escaping.js (domain: TestingUtilities, subdomain: Fixtures, directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/propagate-scope-deps-hir-fork).

Analyze Your Own Codebase

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

Try Supermodel Free