Verification — fw-02-mini-react-core

A module is complete when these pass against measured or observed output, not when the prose has been read.

  • Renders and updates a non-trivial UI
  • Keyed reconciliation demonstrably fixes the reorder bug (broken version built first)
  • useState, useEffect with correct cleanup ordering
  • All five failure-lab bugs reproduced and explained
  • Measured: DOM ops per update vs naive innerHTML replacement
  • Complexity notebook: why keys must be author-supplied

Gate (§44) — for every source-reading exercise in this module

  • Why does this code exist?
  • What invariant does it maintain?
  • Who calls it?
  • What does it call?
  • Which process and thread executes it?
  • What happens if it is removed?
  • How is it tested?
  • What simpler design would fail, and why?

Record