Home / File/ error.invalid-assign-current-inferred-ref-during-render.js — react Source File

error.invalid-assign-current-inferred-ref-during-render.js — react Source File

Architecture documentation for error.invalid-assign-current-inferred-ref-during-render.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  2a69890b_014f_c011_889a_b9f59e22a283["error.invalid-assign-current-inferred-ref-during-render.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  2a69890b_014f_c011_889a_b9f59e22a283 --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  style 2a69890b_014f_c011_889a_b9f59e22a283 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @flow @enableTreatRefLikeIdentifiersAsRefs @validateRefAccessDuringRender
import {makeObject_Primitives} from 'shared-runtime';

component Example() {
  const fooRef = makeObject_Primitives();
  fooRef.current = true;

  return <Stringify foo={fooRef} />;
}

Dependencies

  • shared-runtime

Frequently Asked Questions

What does error.invalid-assign-current-inferred-ref-during-render.js do?
error.invalid-assign-current-inferred-ref-during-render.js is a source file in the react codebase, written in javascript.
What does error.invalid-assign-current-inferred-ref-during-render.js depend on?
error.invalid-assign-current-inferred-ref-during-render.js imports 1 module(s): shared-runtime.
Where is error.invalid-assign-current-inferred-ref-during-render.js in the architecture?
error.invalid-assign-current-inferred-ref-during-render.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/error.invalid-assign-current-inferred-ref-during-render.js (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