ReactFiberShellHydration.js — react Source File
Architecture documentation for ReactFiberShellHydration.js, a javascript file in the react codebase. 2 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 07bbda3e_4ff2_2859_0645_61350b6b08de["ReactFiberShellHydration.js"] 6b9f5caa_fb13_3d3c_2f60_ad3c4f58371f["ReactInternalTypes.js"] 07bbda3e_4ff2_2859_0645_61350b6b08de --> 6b9f5caa_fb13_3d3c_2f60_ad3c4f58371f ffca4edd_b46d_4530_2580_e6e4e786c422["ReactFiberRoot.js"] 07bbda3e_4ff2_2859_0645_61350b6b08de --> ffca4edd_b46d_4530_2580_e6e4e786c422 3ff8c5da_88d9_c61b_6bdc_da766a43fd30["ReactFiberReconciler.js"] 3ff8c5da_88d9_c61b_6bdc_da766a43fd30 --> 07bbda3e_4ff2_2859_0645_61350b6b08de d73e9290_2d2e_5d3f_97dd_84929f205c77["ReactFiberWorkLoop.js"] d73e9290_2d2e_5d3f_97dd_84929f205c77 --> 07bbda3e_4ff2_2859_0645_61350b6b08de style 07bbda3e_4ff2_2859_0645_61350b6b08de 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 {FiberRoot} from './ReactInternalTypes';
import type {RootState} from './ReactFiberRoot';
// This is imported by the event replaying implementation in React DOM. It's
// in a separate file to break a circular dependency between the renderer and
// the reconciler.
export function isRootDehydrated(root: FiberRoot): boolean {
const currentState: RootState = root.current.memoizedState;
return currentState.isDehydrated;
}
Domain
Subdomains
Functions
Dependencies
Imported By
Source
Frequently Asked Questions
What does ReactFiberShellHydration.js do?
ReactFiberShellHydration.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 ReactFiberShellHydration.js?
ReactFiberShellHydration.js defines 1 function(s): isRootDehydrated.
What does ReactFiberShellHydration.js depend on?
ReactFiberShellHydration.js imports 2 module(s): ReactFiberRoot.js, ReactInternalTypes.js.
What files import ReactFiberShellHydration.js?
ReactFiberShellHydration.js is imported by 2 file(s): ReactFiberReconciler.js, ReactFiberWorkLoop.js.
Where is ReactFiberShellHydration.js in the architecture?
ReactFiberShellHydration.js is located at packages/react-reconciler/src/ReactFiberShellHydration.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