Home / File/ nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js — react Source File

nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js — react Source File

Architecture documentation for nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

// @flow
function Component() {
  return (
    <div
      className={stylex(
        // this value is a) in its own scope, b) non-reactive, and c) non-escaping
        // its scope gets pruned bc it's non-escaping, but this doesn't mean we need to
        // create a temporary for it
        flags.feature('feature-name') ? styles.featureNameStyle : null
      )}></div>
  );
}

Subdomains

Functions

Frequently Asked Questions

What does nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js do?
nonreactive-noescaping-dependency-can-inline-into-consuming-scope.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 nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js?
nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js defines 1 function(s): Component.
Where is nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js in the architecture?
nonreactive-noescaping-dependency-can-inline-into-consuming-scope.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/nonreactive-noescaping-dependency-can-inline-into-consuming-scope.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