Home / File/ update-global-in-callback.tsx — react Source File

update-global-in-callback.tsx — react Source File

Architecture documentation for update-global-in-callback.tsx, a tsx file in the react codebase. 1 imports, 0 dependents.

File tsx TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6bc298c5_dd95_6953_f253_d0d6c9a0c4a0["update-global-in-callback.tsx"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  6bc298c5_dd95_6953_f253_d0d6c9a0c4a0 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 6bc298c5_dd95_6953_f253_d0d6c9a0c4a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {Stringify} from 'shared-runtime';

let renderCount = 0;
function Foo() {
  const cb = () => {
    renderCount += 1;
    return renderCount;
  };
  return <Stringify cb={cb} shouldInvokeFns={true} />;
}

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

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does update-global-in-callback.tsx do?
update-global-in-callback.tsx is a source file in the react codebase, written in tsx. It belongs to the TestingUtilities domain, Fixtures subdomain.
What functions are defined in update-global-in-callback.tsx?
update-global-in-callback.tsx defines 1 function(s): Foo.
What does update-global-in-callback.tsx depend on?
update-global-in-callback.tsx imports 1 module(s): shared-runtime.
Where is update-global-in-callback.tsx in the architecture?
update-global-in-callback.tsx is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/update-global-in-callback.tsx (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