global-jsx-tag-lowered-between-mutations.js — react Source File
Architecture documentation for global-jsx-tag-lowered-between-mutations.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
function Component(props) {
const maybeMutable = new MaybeMutable();
// NOTE: this will produce invalid output.
// The HIR is roughly:
// ⌵ mutable range of `maybeMutable`
// StoreLocal maybeMutable = ... ⌝
// t0 = LoadGlobal View ⎮ <-- View is lowered inside this mutable range
// and thus gets becomes an output of this scope,
// gets promoted to temporary
// t1 = LoadGlobal maybeMutate ⎮
// t2 = LoadLocal maybeMutable ⎮
// t3 = Call t1(t2) ⌟
// t4 = Jsx tag=t0 props=[] children=[t3] <-- `t0` is an invalid tag
return <View>{maybeMutate(maybeMutable)}</View>;
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does global-jsx-tag-lowered-between-mutations.js do?
global-jsx-tag-lowered-between-mutations.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 global-jsx-tag-lowered-between-mutations.js?
global-jsx-tag-lowered-between-mutations.js defines 1 function(s): Component.
Where is global-jsx-tag-lowered-between-mutations.js in the architecture?
global-jsx-tag-lowered-between-mutations.js is located at compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/global-jsx-tag-lowered-between-mutations.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