React internals visual mental model
Internals are useful when they explain observable React behavior. Do not build application correctness around private data structures or heuristics that React does not promise publicly.
1Previous committed tree
2New render description
3Reconciliation
4Accepted work
5Commit
6Host changes
Identity controls state preservation
Type
Is React rendering the same component type?
Position
Is it occupying the same place in the render tree?
Key
When siblings need identity hints, is the key stable and meaningful?
State can be preserved
State below that point resets
Render work can exist without commit
RenderCalculate a candidate tree
Pure computation may start, pause, restart, or be abandoned.
CommitApply accepted changes
Host mutations and layout-sensitive work happen only for committed output.
Concurrent rendering changes scheduling, not component meaning
1Start work
2Pause or interrupt
3Resume or restart
4Commit completed result
Stable contract vs implementation detail
Can application code rely on this?
State resets when identity changesYes — public application-facing behavior
Keys influence sibling identityYes — public behavior
Render may happen without DOM mutationYes — public mental model
Exact Fiber field layout or internal queue shapeNo — implementation detail
Specific internal scheduling heuristicDo not treat it as an application contract
Keep this mental model
Identity
Preserves state.
Render
Calculates possibilities.
Commit
Publishes accepted work.
Internals
Explain, don't depend on them.
Continue with Reconciliation, Identity, and State Preservation for the detailed senior-level model.