ReactART.js — react Source File
Architecture documentation for ReactART.js, a javascript file in the react codebase. 10 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e064536f_e798_4392_8a3b_fe7d105a0a21["ReactART.js"] d195cce3_9dc8_8b8f_a39e_276af7632c6e["ReactARTInternals.js"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> d195cce3_9dc8_8b8f_a39e_276af7632c6e 211956bf_1315_6470_f1ff_5505d7cabdc2["childrenAsString"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> 211956bf_1315_6470_f1ff_5505d7cabdc2 ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> ac587885_e294_a1e9_b13f_5e7b920fdb42 0b5d77d6_fa00_515b_1198_0f2d2642dc21["ReactVersion"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> 0b5d77d6_fa00_515b_1198_0f2d2642dc21 4e4c3f74_7206_42a0_562c_a3f70cf6e54c["ReactRootTags"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> 4e4c3f74_7206_42a0_562c_a3f70cf6e54c ddecbf3f_f337_559f_a83b_7d088cc54c15["ReactFiberReconciler"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> ddecbf3f_f337_559f_a83b_7d088cc54c15 ac88b443_32bf_da8b_d7b5_14c852ebfa63["transform"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> ac88b443_32bf_da8b_d7b5_14c852ebfa63 26b2e4e4_9124_2852_4c08_0a262a3c5ca3["current"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> 26b2e4e4_9124_2852_4c08_0a262a3c5ca3 fe7edc3f_df20_0e1a_f28a_1a8a9a7f99be["fast-noSideEffects"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> fe7edc3f_df20_0e1a_f28a_1a8a9a7f99be 8344de1b_978c_be0f_eebd_38ccc4962a93["ReactFeatureFlags"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> 8344de1b_978c_be0f_eebd_38ccc4962a93 style e064536f_e798_4392_8a3b_fe7d105a0a21 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import ReactVersion from 'shared/ReactVersion';
import {LegacyRoot, ConcurrentRoot} from 'react-reconciler/src/ReactRootTags';
import {
createContainer,
updateContainerSync,
injectIntoDevTools,
flushSyncWork,
defaultOnUncaughtError,
defaultOnCaughtError,
defaultOnRecoverableError,
} from 'react-reconciler/src/ReactFiberReconciler';
import Transform from 'art/core/transform';
import Mode from 'art/modes/current';
import FastNoSideEffects from 'art/modes/fast-noSideEffects';
import {disableLegacyMode} from 'shared/ReactFeatureFlags';
import {TYPES, childrenAsString} from './ReactARTInternals';
function defaultOnDefaultTransitionIndicator() {
// Noop
}
Mode.setCurrent(
// Change to 'art/modes/dom' for easier debugging via SVG
FastNoSideEffects,
);
/** Declarative fill-type objects; API design not finalized */
const slice = Array.prototype.slice;
class LinearGradient {
constructor(stops, x1, y1, x2, y2) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillLinear.apply(node, this._args);
}
}
class RadialGradient {
constructor(stops, fx, fy, rx, ry, cx, cy) {
this._args = slice.call(arguments);
}
applyFill(node) {
node.fillRadial.apply(node, this._args);
}
}
// ... (122 more lines)
Domain
Subdomains
Functions
Dependencies
- ReactARTInternals.js
- ReactFeatureFlags
- ReactFiberReconciler
- ReactRootTags
- ReactVersion
- childrenAsString
- current
- fast-noSideEffects
- react
- transform
Source
Frequently Asked Questions
What does ReactART.js do?
ReactART.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in ReactART.js?
ReactART.js defines 1 function(s): defaultOnDefaultTransitionIndicator.
What does ReactART.js depend on?
ReactART.js imports 10 module(s): ReactARTInternals.js, ReactFeatureFlags, ReactFiberReconciler, ReactRootTags, ReactVersion, childrenAsString, current, fast-noSideEffects, and 2 more.
Where is ReactART.js in the architecture?
ReactART.js is located at packages/react-art/src/ReactART.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-art/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free