Home / File/ error.nested-component-in-normal-function.js — react Source File

error.nested-component-in-normal-function.js — react Source File

Architecture documentation for error.nested-component-in-normal-function.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

// @validateNoDynamicallyCreatedComponentsOrHooks
export function getInput(a) {
  const Wrapper = () => {
    const handleChange = () => {
      a.onChange();
    };

    return <input onChange={handleChange} />;
  };

  return Wrapper;
}

export const FIXTURE_ENTRYPOINT = {
  fn: getInput,
  isComponent: false,
  params: [{onChange() {}}],
};

Subdomains

Functions

Frequently Asked Questions

What does error.nested-component-in-normal-function.js do?
error.nested-component-in-normal-function.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 error.nested-component-in-normal-function.js?
error.nested-component-in-normal-function.js defines 1 function(s): getInput.
Where is error.nested-component-in-normal-function.js in the architecture?
error.nested-component-in-normal-function.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.nested-component-in-normal-function.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