ReactNative.js — react Source File
Architecture documentation for ReactNative.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR cf2ef705_8f62_c148_576b_e594586efed5["ReactNative.js"] af2a37ce_54b3_b243_ae04_c7ff8eb2832c["./ReactNativeTypes"] cf2ef705_8f62_c148_576b_e594586efed5 --> af2a37ce_54b3_b243_ae04_c7ff8eb2832c style cf2ef705_8f62_c148_576b_e594586efed5 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.
*
* @noformat
* @nolint
* @flow
*/
'use strict';
import type {ReactNativeType} from './ReactNativeTypes';
let ReactNative: ReactNativeType;
// TODO: Delete the legacy renderer. Only ReactFabric is used now.
if (__DEV__) {
ReactNative = require('../implementations/ReactNativeRenderer-dev');
} else {
ReactNative = require('../implementations/ReactNativeRenderer-prod');
}
export default ReactNative;
Domain
Dependencies
- ./ReactNativeTypes
Source
Frequently Asked Questions
What does ReactNative.js do?
ReactNative.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactNative.js depend on?
ReactNative.js imports 1 module(s): ./ReactNativeTypes.
Where is ReactNative.js in the architecture?
ReactNative.js is located at scripts/rollup/shims/react-native/ReactNative.js (domain: BabelCompiler, directory: scripts/rollup/shims/react-native).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free