Home / File/ computed-store-alias.js — react Source File

computed-store-alias.js — react Source File

Architecture documentation for computed-store-alias.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript TestingUtilities Fixtures 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  16d905e9_f572_18fd_1a7d_ff9ae98f1d8f["computed-store-alias.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  16d905e9_f572_18fd_1a7d_ff9ae98f1d8f --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 16d905e9_f572_18fd_1a7d_ff9ae98f1d8f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {mutate} from 'shared-runtime';
function useHook({a, b}) {
  let y = {a};
  let x = {b};
  x['y'] = y;
  mutate(x);
  return x;
}

export const FIXTURE_ENTRYPOINT = {
  fn: useHook,
  params: [{a: 2, b: 3}],
  sequentialRenders: [
    {a: 2, b: 3},
    {a: 2, b: 3},
    {a: 3, b: 3},
  ],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

What does computed-store-alias.js do?
computed-store-alias.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 computed-store-alias.js?
computed-store-alias.js defines 1 function(s): useHook.
What does computed-store-alias.js depend on?
computed-store-alias.js imports 1 module(s): shared-runtime.
Where is computed-store-alias.js in the architecture?
computed-store-alias.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/computed-store-alias.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