ReactDOMSharedInternalsFB.js — react Source File
Architecture documentation for ReactDOMSharedInternalsFB.js, a javascript file in the react codebase. 3 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d["ReactDOMSharedInternalsFB.js"] a4b0922c_f703_f99d_9884_88c43f8f2825["ReactDOMTypes.js"] deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d --> a4b0922c_f703_f99d_9884_88c43f8f2825 ee448c5a_bbb1_876b_443a_d70daee16237["ReactEventPriorities"] deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d --> ee448c5a_bbb1_876b_443a_d70daee16237 4321c04c_6e7b_409b_4c59_c09fbf7074a8["noop"] deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d --> 4321c04c_6e7b_409b_4c59_c09fbf7074a8 abf114cc_3e68_ff05_cab2_321944fa68f6["ReactDOMFB.js"] abf114cc_3e68_ff05_cab2_321944fa68f6 --> deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d 1b3f328f_ac2c_6e3e_233b_fbbe5d0412b0["ReactDOMClientFB.js"] 1b3f328f_ac2c_6e3e_233b_fbbe5d0412b0 --> deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d style deb757e1_18ff_e5ad_ed9f_ea0c0a95e97d 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 type {EventPriority} from 'react-reconciler/src/ReactEventPriorities';
import type {HostDispatcher} from './shared/ReactDOMTypes';
import {NoEventPriority} from 'react-reconciler/src/ReactEventPriorities';
import noop from 'shared/noop';
type ReactDOMInternals = {
Events: [any, any, any, any, any, any],
d /* ReactDOMCurrentDispatcher */: HostDispatcher,
p /* currentUpdatePriority */: EventPriority,
findDOMNode:
| null
| ((componentOrElement: component(...props: any)) => null | Element | Text),
};
const DefaultDispatcher: HostDispatcher = {
f /* flushSyncWork */: noop,
r /* requestFormReset */: noop,
D /* prefetchDNS */: noop,
C /* preconnect */: noop,
L /* preload */: noop,
m /* preloadModule */: noop,
X /* preinitScript */: noop,
S /* preinitStyle */: noop,
M /* preinitModuleScript */: noop,
};
const Internals: ReactDOMInternals = {
Events: (null: any),
d /* ReactDOMCurrentDispatcher */: DefaultDispatcher,
p /* currentUpdatePriority */: NoEventPriority,
findDOMNode: null,
};
export default Internals;
Domain
Dependencies
- ReactDOMTypes.js
- ReactEventPriorities
- noop
Source
Frequently Asked Questions
What does ReactDOMSharedInternalsFB.js do?
ReactDOMSharedInternalsFB.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactDOMSharedInternalsFB.js depend on?
ReactDOMSharedInternalsFB.js imports 3 module(s): ReactDOMTypes.js, ReactEventPriorities, noop.
What files import ReactDOMSharedInternalsFB.js?
ReactDOMSharedInternalsFB.js is imported by 2 file(s): ReactDOMClientFB.js, ReactDOMFB.js.
Where is ReactDOMSharedInternalsFB.js in the architecture?
ReactDOMSharedInternalsFB.js is located at packages/react-dom/src/ReactDOMSharedInternalsFB.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