Home / File/ ReactFabric.js — react Source File

ReactFabric.js — react Source File

Architecture documentation for ReactFabric.js, a javascript file in the react codebase. 2 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  d71c215c_5b0c_4554_1723_ef62e596116d["ReactFabric.js"]
  af2a37ce_54b3_b243_ae04_c7ff8eb2832c["./ReactNativeTypes"]
  d71c215c_5b0c_4554_1723_ef62e596116d --> af2a37ce_54b3_b243_ae04_c7ff8eb2832c
  94a68304_3047_524d_e604_af34f5a80eaf["ReactNativePrivateInterface"]
  d71c215c_5b0c_4554_1723_ef62e596116d --> 94a68304_3047_524d_e604_af34f5a80eaf
  style d71c215c_5b0c_4554_1723_ef62e596116d 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 {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';

import type {ReactFabricType} from './ReactNativeTypes';

let ReactFabric: ReactFabricType;

if (__DEV__) {
  ReactFabric = require('../implementations/ReactFabric-dev');
} else {
  ReactFabric = require('../implementations/ReactFabric-prod');
}

global.RN$stopSurface = ReactFabric.stopSurface;

if (global.RN$Bridgeless !== true) {
  BatchedBridge.registerCallableModule('ReactFabric', ReactFabric);
}

export default ReactFabric;

Domain

Dependencies

  • ./ReactNativeTypes
  • ReactNativePrivateInterface

Frequently Asked Questions

What does ReactFabric.js do?
ReactFabric.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactFabric.js depend on?
ReactFabric.js imports 2 module(s): ./ReactNativeTypes, ReactNativePrivateInterface.
Where is ReactFabric.js in the architecture?
ReactFabric.js is located at scripts/rollup/shims/react-native/ReactFabric.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