Home / File/ error.validate-object-entries-mutation.js — react Source File

error.validate-object-entries-mutation.js — react Source File

Architecture documentation for error.validate-object-entries-mutation.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
  158f7c52_91f1_628a_bba1_103262c0414e["error.validate-object-entries-mutation.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  158f7c52_91f1_628a_bba1_103262c0414e --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 158f7c52_91f1_628a_bba1_103262c0414e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @validatePreserveExistingMemoizationGuarantees @enablePreserveExistingMemoizationGuarantees:false
import {makeObject_Primitives, Stringify} from 'shared-runtime';

function Component(props) {
  const object = {object: props.object};
  const entries = useMemo(() => Object.entries(object), [object]);
  entries.map(([, value]) => {
    value.updated = true;
  });
  return <Stringify entries={entries} />;
}

export const FIXTURE_ENTRYPOINT = {
  fn: Component,
  params: [{object: {key: makeObject_Primitives()}}],
};

Subdomains

Functions

Dependencies

  • shared-runtime

Frequently Asked Questions

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