Home / File/ component-syntax-ref-gating.flow.js — react Source File

component-syntax-ref-gating.flow.js — react Source File

Architecture documentation for component-syntax-ref-gating.flow.js, a javascript file in the react codebase. 2 imports, 0 dependents.

File javascript 2 imports

Entity Profile

Dependency Diagram

graph LR
  d893d577_8387_6aca_9a96_68d22e9716df["component-syntax-ref-gating.flow.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  d893d577_8387_6aca_9a96_68d22e9716df --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  d893d577_8387_6aca_9a96_68d22e9716df --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  style d893d577_8387_6aca_9a96_68d22e9716df fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @flow @gating
import {Stringify} from 'shared-runtime';
import * as React from 'react';

component Foo(ref: React.RefSetter<Controls>) {
  return <Stringify ref={ref} />;
}

export const FIXTURE_ENTRYPOINT = {
  fn: eval('(...args) => React.createElement(Foo, args)'),
  params: [{ref: React.createRef()}],
};

Dependencies

  • react
  • shared-runtime

Frequently Asked Questions

What does component-syntax-ref-gating.flow.js do?
component-syntax-ref-gating.flow.js is a source file in the react codebase, written in javascript.
What does component-syntax-ref-gating.flow.js depend on?
component-syntax-ref-gating.flow.js imports 2 module(s): react, shared-runtime.
Where is component-syntax-ref-gating.flow.js in the architecture?
component-syntax-ref-gating.flow.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/gating/component-syntax-ref-gating.flow.js (directory: compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/gating).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free