React Curriculum

React Reconciliation & Fiber Interview Questions

React reconciliation & Fiber interview questions come up routinely in FAANG technical rounds for senior frontend roles, which dive into React internals. Candidates are expected to explain the heuristics of the O(n) diffing algorithm and why keys enable stable component identity across renders.

Step through the internal Fiber node data structure with child, sibling, and return pointers. Understand the cooperative work loop, the separation between interruptible render work and synchronous commit work, and how the SyntheticEvent system delegates events to the root container.

React Reconciliation & Fiber Interview Questions: 5 lessons

#01
The Reconciliation Diffing Algorithm
MediumFree

The React reconciliation algorithm is an O(n) heuristic diffing algorithm based on two assumptions: two elements of different types produce completely different trees, and the developer can hint which child elements are stable across renders with a key prop.

#02
Fiber Node Architecture & Work Loop
HardFree

React Fiber is an internal reconciler data structure that replaces the recursive call stack with a singly linked list (child, sibling, return). This enables cooperative multitasking: React can pause rendering work, yield to the browser main thread, prioritize urgent updates, and resume without losing progress.

#03
Render Phase vs Commit Phase Mechanics
HardFree

The Render Phase is asynchronous and pure: React invokes component functions and diffs Fiber trees without touching the DOM, and work can be paused or discarded. The Commit Phase is synchronous and fast: React mutates the real DOM, executes layout effects, and schedules passive effects.

#04
Virtual DOM Mechanics: Myths & Overhead
MediumFree

The Virtual DOM is not inherently faster than direct DOM manipulation; it provides a declarative programming model with acceptable performance overhead. React minimizes DOM reflows by calculating diffs in memory and applying batched mutations.

#05
SyntheticEvent System & Event Delegation
MediumFree

Synthetic events in React (SyntheticEvent objects) wrap native browser events to provide cross-browser consistency. In React 17+, events are delegated to the root DOM container (#root) rather than document, and event pooling was completely removed, allowing events to be read asynchronously.