ReactNoop.js — react Source File
Architecture documentation for ReactNoop.js, a javascript file in the react codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0045159f_b847_f03a_ef47_a9f78cbb4a8d["ReactNoop.js"] 942e819c_091f_fea7_833f_7c1bbe11aedd["createReactNoop.js"] 0045159f_b847_f03a_ef47_a9f78cbb4a8d --> 942e819c_091f_fea7_833f_7c1bbe11aedd 3078e265_342a_ad20_2773_16d87ed75abe["react-reconciler"] 0045159f_b847_f03a_ef47_a9f78cbb4a8d --> 3078e265_342a_ad20_2773_16d87ed75abe style 0045159f_b847_f03a_ef47_a9f78cbb4a8d 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
*/
/**
* This is a renderer of React that doesn't have a render target output.
* It is useful to demonstrate the internals of the reconciler in isolation
* and for testing semantics of reconciliation separate from the host
* environment.
*/
import ReactFiberReconciler from 'react-reconciler';
import createReactNoop from './createReactNoop';
export const {
_Scheduler,
getChildren,
dangerouslyGetChildren,
getPendingChildren,
dangerouslyGetPendingChildren,
getOrCreateRootContainer,
createRoot,
createLegacyRoot,
getChildrenAsJSX,
getPendingChildrenAsJSX,
getSuspenseyThingStatus,
resolveSuspenseyThing,
resetSuspenseyThingCache,
createPortal,
render,
renderLegacySyncRoot,
renderToRootWithID,
unmountRootWithID,
findInstance,
flushNextYield,
startTrackingHostCounters,
stopTrackingHostCounters,
expire,
flushExpired,
batchedUpdates,
deferredUpdates,
discreteUpdates,
idleUpdates,
flushSync,
flushPassiveEffects,
act,
dumpTree,
getRoot,
// TODO: Remove this after callers migrate to alternatives.
unstable_runWithPriority,
} = createReactNoop(
ReactFiberReconciler, // reconciler
true, // useMutation
);
Domain
Dependencies
- createReactNoop.js
- react-reconciler
Source
Frequently Asked Questions
What does ReactNoop.js do?
ReactNoop.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactNoop.js depend on?
ReactNoop.js imports 2 module(s): createReactNoop.js, react-reconciler.
Where is ReactNoop.js in the architecture?
ReactNoop.js is located at packages/react-noop-renderer/src/ReactNoop.js (domain: BabelCompiler, directory: packages/react-noop-renderer/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free