Home / File/ reduce-reactive-cond-deps-break-in-scope.ts — react Source File

reduce-reactive-cond-deps-break-in-scope.ts — react Source File

Architecture documentation for reduce-reactive-cond-deps-break-in-scope.ts, a typescript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

function useFoo({obj, objIsNull}) {
  const x = [];
  b0: {
    if (objIsNull) {
      break b0;
    } else {
      x.push(obj.a);
    }
    x.push(obj.b);
  }
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: useFoo,
  params: [{obj: null, objIsNull: true}],
  sequentialRenders: [
    {obj: null, objIsNull: true},
    {obj: {a: 2}, objIsNull: false},
  ],
};

Subdomains

Functions

Frequently Asked Questions

What does reduce-reactive-cond-deps-break-in-scope.ts do?
reduce-reactive-cond-deps-break-in-scope.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 reduce-reactive-cond-deps-break-in-scope.ts?
reduce-reactive-cond-deps-break-in-scope.ts defines 1 function(s): useFoo.
Where is reduce-reactive-cond-deps-break-in-scope.ts in the architecture?
reduce-reactive-cond-deps-break-in-scope.ts is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/reduce-reactive-cond-deps-break-in-scope.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