Home / File/ ReactNoopPersistent.js — react Source File

ReactNoopPersistent.js — react Source File

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

Entity Profile

Dependency Diagram

graph LR
  74a8f213_f57f_c18b_c13d_42b187a83062["ReactNoopPersistent.js"]
  942e819c_091f_fea7_833f_7c1bbe11aedd["createReactNoop.js"]
  74a8f213_f57f_c18b_c13d_42b187a83062 --> 942e819c_091f_fea7_833f_7c1bbe11aedd
  3078e265_342a_ad20_2773_16d87ed75abe["react-reconciler"]
  74a8f213_f57f_c18b_c13d_42b187a83062 --> 3078e265_342a_ad20_2773_16d87ed75abe
  style 74a8f213_f57f_c18b_c13d_42b187a83062 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,
  flushDiscreteUpdates,
  flushSync,
  flushPassiveEffects,
  act,
  dumpTree,
  getRoot,
  // TODO: Remove this once callers migrate to alternatives.
  // This should only be used by React internals.
  unstable_runWithPriority,
} = createReactNoop(
  ReactFiberReconciler, // reconciler
  false, // useMutation
);

Domain

Dependencies

Frequently Asked Questions

What does ReactNoopPersistent.js do?
ReactNoopPersistent.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactNoopPersistent.js depend on?
ReactNoopPersistent.js imports 2 module(s): createReactNoop.js, react-reconciler.
Where is ReactNoopPersistent.js in the architecture?
ReactNoopPersistent.js is located at packages/react-noop-renderer/src/ReactNoopPersistent.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