Home / Function/ isRootDehydrated() — react Function Reference

isRootDehydrated() — react Function Reference

Architecture documentation for the isRootDehydrated() function in ReactFiberShellHydration.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  3340d555_182b_c8a0_81f5_3cd414a3672c["isRootDehydrated()"]
  07bbda3e_4ff2_2859_0645_61350b6b08de["ReactFiberShellHydration.js"]
  3340d555_182b_c8a0_81f5_3cd414a3672c -->|defined in| 07bbda3e_4ff2_2859_0645_61350b6b08de
  style 3340d555_182b_c8a0_81f5_3cd414a3672c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-reconciler/src/ReactFiberShellHydration.js lines 16–19

export function isRootDehydrated(root: FiberRoot): boolean {
  const currentState: RootState = root.current.memoizedState;
  return currentState.isDehydrated;
}

Domain

Subdomains

Frequently Asked Questions

What does isRootDehydrated() do?
isRootDehydrated() is a function in the react codebase, defined in packages/react-reconciler/src/ReactFiberShellHydration.js.
Where is isRootDehydrated() defined?
isRootDehydrated() is defined in packages/react-reconciler/src/ReactFiberShellHydration.js at line 16.

Analyze Your Own Codebase

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

Try Supermodel Free