Home / File/ ReactFiberThrow.js — react Source File

ReactFiberThrow.js — react Source File

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

File javascript BabelCompiler Validation 26 imports 2 dependents 6 functions

Entity Profile

Dependency Diagram

graph LR
  2945bdb1_d075_d792_a028_13eee518c9d4["ReactFiberThrow.js"]
  6b9f5caa_fb13_3d3c_2f60_ad3c4f58371f["ReactInternalTypes.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 6b9f5caa_fb13_3d3c_2f60_ad3c4f58371f
  768f6d67_77c1_be19_5596_a943eab59e05["ReactFiberLane.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 768f6d67_77c1_be19_5596_a943eab59e05
  3c1744da_8f82_b464_9a56_73fd7302132b["ReactCapturedValue.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 3c1744da_8f82_b464_9a56_73fd7302132b
  39c2d339_1422_a702_78f7_1997d8d72c29["ReactFiberClassUpdateQueue.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 39c2d339_1422_a702_78f7_1997d8d72c29
  79172409_a09a_afa9_9185_df1c9182af84["ReactFiberOffscreenComponent.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 79172409_a09a_afa9_9185_df1c9182af84
  24334744_4c44_225b_6923_5be11133f949["ReactFiberSuspenseComponent.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 24334744_4c44_225b_6923_5be11133f949
  d3557f30_4fca_e30a_91c5_c23d4b8dba99["ReactWorkTags.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> d3557f30_4fca_e30a_91c5_c23d4b8dba99
  6773f9a2_fdb7_4938_741f_4887273ad469["ReactFiberFlags.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 6773f9a2_fdb7_4938_741f_4887273ad469
  da3c54a1_3083_4820_c4b4_b893d0987ccb["ReactTypeOfMode.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> da3c54a1_3083_4820_c4b4_b893d0987ccb
  da68ece0_17b1_3c98_d393_5c830eacd9b2["ReactFiberHotReloading.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> da68ece0_17b1_3c98_d393_5c830eacd9b2
  e2efe0bf_683d_f203_6103_b4f15f21f88a["markFailedErrorBoundaryForHotReloading"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> e2efe0bf_683d_f203_6103_b4f15f21f88a
  be9c7dd4_0030_1768_3ad3_f5acdbd08eef["ReactFiberSuspenseContext.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> be9c7dd4_0030_1768_3ad3_f5acdbd08eef
  d73e9290_2d2e_5d3f_97dd_84929f205c77["ReactFiberWorkLoop.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> d73e9290_2d2e_5d3f_97dd_84929f205c77
  278c890a_abdf_e007_0c26_ae3bc8eda908["ReactFiberNewContext.js"]
  2945bdb1_d075_d792_a028_13eee518c9d4 --> 278c890a_abdf_e007_0c26_ae3bc8eda908
  style 2945bdb1_d075_d792_a028_13eee518c9d4 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 {Fiber, FiberRoot} from './ReactInternalTypes';
import type {Lane, Lanes} from './ReactFiberLane';
import type {CapturedValue} from './ReactCapturedValue';
import type {Update} from './ReactFiberClassUpdateQueue';
import type {Wakeable} from 'shared/ReactTypes';
import type {
  OffscreenQueue,
  OffscreenState,
} from './ReactFiberOffscreenComponent';
import type {RetryQueue} from './ReactFiberSuspenseComponent';

import getComponentNameFromFiber from 'react-reconciler/src/getComponentNameFromFiber';
import {
  ClassComponent,
  HostRoot,
  IncompleteClassComponent,
  IncompleteFunctionComponent,
  FunctionComponent,
  ForwardRef,
  SimpleMemoComponent,
  ActivityComponent,
  SuspenseComponent,
  OffscreenComponent,
  SuspenseListComponent,
} from './ReactWorkTags';
import {
  DidCapture,
  Incomplete,
  NoFlags,
  ShouldCapture,
  LifecycleEffectMask,
  ForceUpdateForLegacySuspense,
  ForceClientRender,
  ScheduleRetry,
} from './ReactFiberFlags';
import {NoMode, ConcurrentMode} from './ReactTypeOfMode';
import {
  enableUpdaterTracking,
  disableLegacyMode,
} from 'shared/ReactFeatureFlags';
import {createCapturedValueAtFiber} from './ReactCapturedValue';
import {
  enqueueCapturedUpdate,
  createUpdate,
  CaptureUpdate,
  ForceUpdate,
  enqueueUpdate,
} from './ReactFiberClassUpdateQueue';
import {markFailedErrorBoundaryForHotReloading} from './ReactFiberHotReloading';
import {
  getShellBoundary,
// ... (653 more lines)

Domain

Subdomains

Frequently Asked Questions

What does ReactFiberThrow.js do?
ReactFiberThrow.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in ReactFiberThrow.js?
ReactFiberThrow.js defines 6 function(s): createClassErrorUpdate, createRootErrorUpdate, initializeClassErrorUpdate, markSuspenseBoundaryShouldCapture, resetSuspendedComponent, throwException.
What does ReactFiberThrow.js depend on?
ReactFiberThrow.js imports 26 module(s): ReactCapturedValue.js, ReactCurrentFiber.js, ReactFeatureFlags, ReactFiberCallUserSpace.js, ReactFiberClassUpdateQueue.js, ReactFiberDevToolsHook.js, ReactFiberErrorLogger.js, ReactFiberFlags.js, and 18 more.
What files import ReactFiberThrow.js?
ReactFiberThrow.js is imported by 2 file(s): ReactFiberBeginWork.js, ReactFiberWorkLoop.js.
Where is ReactFiberThrow.js in the architecture?
ReactFiberThrow.js is located at packages/react-reconciler/src/ReactFiberThrow.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-reconciler/src).

Analyze Your Own Codebase

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

Try Supermodel Free