Home / File/ infer-nested-object-method.jsx — react Source File

infer-nested-object-method.jsx — react Source File

Architecture documentation for infer-nested-object-method.jsx, a javascript file in the react codebase. 1 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  47ef9b43_139c_4de1_a91f_fe59f3617f54["infer-nested-object-method.jsx"]
  9b88626e_0355_91af_db84_89f44a65ebc6["shared-runtime"]
  47ef9b43_139c_4de1_a91f_fe59f3617f54 --> 9b88626e_0355_91af_db84_89f44a65ebc6
  style 47ef9b43_139c_4de1_a91f_fe59f3617f54 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @compilationMode:"infer"

import {Stringify} from 'shared-runtime';

function Test() {
  const context = {
    testFn() {
      // if it is an arrow function its work
      return () => 'test'; // it will break compile if returns an arrow fn
    },
  };

  return <Stringify value={context} shouldInvokeFns={true} />;
}

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

Domain

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does infer-nested-object-method.jsx do?
infer-nested-object-method.jsx is a source file in the react codebase, written in javascript. It belongs to the CompilerCore domain, BabelIntegration subdomain.
What functions are defined in infer-nested-object-method.jsx?
infer-nested-object-method.jsx defines 1 function(s): Test.
What does infer-nested-object-method.jsx depend on?
infer-nested-object-method.jsx imports 1 module(s): shared-runtime.
Where is infer-nested-object-method.jsx in the architecture?
infer-nested-object-method.jsx is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/infer-nested-object-method.jsx (domain: CompilerCore, subdomain: BabelIntegration, 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