Home / File/ ReactDOMFB.js — react Source File

ReactDOMFB.js — react Source File

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

Entity Profile

Dependency Diagram

graph LR
  abf114cc_3e68_ff05_cab2_321944fa68f6["ReactDOMFB.js"]
  deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d["ReactDOMSharedInternalsFB.js"]
  abf114cc_3e68_ff05_cab2_321944fa68f6 --> deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d
  bce6826f_8ceb_8460_aa72_5c2a0e9e504d["ReactDOMEventListener"]
  abf114cc_3e68_ff05_cab2_321944fa68f6 --> bce6826f_8ceb_8460_aa72_5c2a0e9e504d
  style abf114cc_3e68_ff05_cab2_321944fa68f6 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.
 *
 * @flow
 */

import {isEnabled} from 'react-dom-bindings/src/events/ReactDOMEventListener';

import Internals from './ReactDOMSharedInternalsFB';

// For classic WWW builds, include a few internals that are already in use.
Object.assign((Internals: any), {
  ReactBrowserEventEmitter: {
    isEnabled,
  },
});

export {Internals as __DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE};

export {
  createPortal,
  flushSync,
  unstable_createEventHandle,
  unstable_runWithPriority, // DO NOT USE: Temporarily exposed to migrate off of Scheduler.runWithPriority.
  useFormStatus,
  useFormState,
  requestFormReset,
  prefetchDNS,
  preconnect,
  preload,
  preloadModule,
  preinit,
  preinitModule,
  version,
} from './client/ReactDOMClientFB';

export {
  createRoot,
  hydrateRoot,
  render,
  unstable_batchedUpdates,
  findDOMNode,
  unmountComponentAtNode,
} from './client/ReactDOMRootFB';

Domain

Dependencies

Frequently Asked Questions

What does ReactDOMFB.js do?
ReactDOMFB.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactDOMFB.js depend on?
ReactDOMFB.js imports 2 module(s): ReactDOMEventListener, ReactDOMSharedInternalsFB.js.
Where is ReactDOMFB.js in the architecture?
ReactDOMFB.js is located at packages/react-dom/src/ReactDOMFB.js (domain: BabelCompiler, directory: packages/react-dom/src).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free