Skip to content
DevDepth

Tag: react-fiber

4 items under this tag.

Tag Filter

All Content
13 min readreact-internalsReactInternals

How React Updates Work: What Happens Between setState and a DOM Update?

Understand how React turns setState into a DOM update through batching, scheduling, the render phase, the commit phase, and effect timing.

11 min readreact-internalsReactInternals

React Concurrent Rendering: The Underlying Principle

Understand how Fiber, scheduling/time slicing, lanes, and double buffering work together to make concurrent rendering responsive and consistent.

6 min readreact-internalsReactInternals

useEffect vs useLayoutEffect: The Real Difference in React’s Commit Phase

Understand how React Fiber stores both hooks in the same effect list, why HookLayout and HookPassive tags matter, and when each runs during the commit phase.

8 min readreact-internalsReactInternals

Why Hooks Can’t Be Used in Conditions, Loops, or Nested Functions

React Hooks rely on call order, not variable names. Learn how Fiber stores hooks in a linked list and why changing the call order breaks state alignment.