Home / File/ repro-no-value-for-temporary-reactive-scope-with-early-return.js — react Source File

repro-no-value-for-temporary-reactive-scope-with-early-return.js — react Source File

Architecture documentation for repro-no-value-for-temporary-reactive-scope-with-early-return.js, a javascript file in the react codebase. 2 imports, 0 dependents.

File javascript TestingUtilities Fixtures 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2e0eb47e_db36_0c3e_b37f_af9e828b4e7e["repro-no-value-for-temporary-reactive-scope-with-early-return.js"]
  006eec3d_77a9_4a47_e6c1_a96d7a6c9c05["shared-runtime"]
  2e0eb47e_db36_0c3e_b37f_af9e828b4e7e --> 006eec3d_77a9_4a47_e6c1_a96d7a6c9c05
  2db15464_200a_540f_8671_b62de113ab09["fbt"]
  2e0eb47e_db36_0c3e_b37f_af9e828b4e7e --> 2db15464_200a_540f_8671_b62de113ab09
  style 2e0eb47e_db36_0c3e_b37f_af9e828b4e7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// @flow @enableAssumeHooksFollowRulesOfReact @enableTransitivelyFreezeFunctionExpressions
import {identity, makeObject_Primitives} from 'shared-runtime';
import fbt from 'fbt';

function Component(props) {
  const object = makeObject_Primitives();
  const cond = makeObject_Primitives();
  if (!cond) {
    return null;
  }

  return (
    <div className="foo">
      {fbt(
        'Lorum ipsum' + fbt.param('thing', object.b) + ' blah blah blah',
        'More text'
      )}
    </div>
  );
}

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

Subdomains

Functions

Dependencies

  • fbt
  • shared-runtime

Frequently Asked Questions

What does repro-no-value-for-temporary-reactive-scope-with-early-return.js do?
repro-no-value-for-temporary-reactive-scope-with-early-return.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 repro-no-value-for-temporary-reactive-scope-with-early-return.js?
repro-no-value-for-temporary-reactive-scope-with-early-return.js defines 1 function(s): Component.
What does repro-no-value-for-temporary-reactive-scope-with-early-return.js depend on?
repro-no-value-for-temporary-reactive-scope-with-early-return.js imports 2 module(s): fbt, shared-runtime.
Where is repro-no-value-for-temporary-reactive-scope-with-early-return.js in the architecture?
repro-no-value-for-temporary-reactive-scope-with-early-return.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-no-value-for-temporary-reactive-scope-with-early-return.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