ReactARTInternals.js — react Source File
Architecture documentation for ReactARTInternals.js, a javascript file in the react codebase. 0 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR d195cce3_9dc8_8b8f_a39e_276af7632c6e["ReactARTInternals.js"] e064536f_e798_4392_8a3b_fe7d105a0a21["ReactART.js"] e064536f_e798_4392_8a3b_fe7d105a0a21 --> d195cce3_9dc8_8b8f_a39e_276af7632c6e 18cde195_5800_e07a_4f5e_1af7f71a810d["ReactFiberConfigART.js"] 18cde195_5800_e07a_4f5e_1af7f71a810d --> d195cce3_9dc8_8b8f_a39e_276af7632c6e style d195cce3_9dc8_8b8f_a39e_276af7632c6e 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.
*/
export const TYPES = {
CLIPPING_RECTANGLE: 'ClippingRectangle',
GROUP: 'Group',
SHAPE: 'Shape',
TEXT: 'Text',
};
export const EVENT_TYPES = {
onClick: 'click',
onMouseMove: 'mousemove',
onMouseOver: 'mouseover',
onMouseOut: 'mouseout',
onMouseUp: 'mouseup',
onMouseDown: 'mousedown',
};
export function childrenAsString(children) {
if (!children) {
return '';
} else if (typeof children === 'string') {
return children;
} else if (children.length) {
return children.join('');
} else {
return '';
}
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does ReactARTInternals.js do?
ReactARTInternals.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 ReactARTInternals.js?
ReactARTInternals.js defines 1 function(s): childrenAsString.
What files import ReactARTInternals.js?
ReactARTInternals.js is imported by 2 file(s): ReactART.js, ReactFiberConfigART.js.
Where is ReactARTInternals.js in the architecture?
ReactARTInternals.js is located at packages/react-art/src/ReactARTInternals.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