Home / File/ infer-no-component-obj-return.js — react Source File

infer-no-component-obj-return.js — react Source File

Architecture documentation for infer-no-component-obj-return.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

// @expectNothingCompiled @compilationMode:"infer"
function Component(props) {
  const ignore = <foo />;
  return {foo: f(props)};
}

function f(props) {
  return props;
}

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

Subdomains

Functions

Frequently Asked Questions

What does infer-no-component-obj-return.js do?
infer-no-component-obj-return.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 infer-no-component-obj-return.js?
infer-no-component-obj-return.js defines 2 function(s): Component, f.
Where is infer-no-component-obj-return.js in the architecture?
infer-no-component-obj-return.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-no-component-obj-return.js (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