~/talk

React-tRace: A Semantics for Understanding React Hooks

Talkat OOPSLA 2025 · 2025-10-16..10-18· [react, frontend-architecture]
name:Jay Lee
links:none on file
links:none on file
links:none on file
slides:none on file

A formal operational semantics called React-tRace models core Hook behavior (useState and useEffect) and ships a stepwise visualizer online that replays executions and view trees. The model is validated against 38 tests covering React 16.8 through 19.1 (one minor optimization-order mismatch) and is backed by two conformance theorems that explain the two common infinite-render patterns: setter-in-body forces immediate reevaluation, and effects-after-rerender can re-trigger renders. Artifacts and reproducible results are available.

AI-written summary · about

  1. 0:00React-tRace and hooks intro
  2. 2:09Why React hooks are tricky
  3. 3:53Rules of hooks pitfalls
  4. 6:04Infinite render loops
  5. 7:29React-tRace semantics tool
  6. 8:54Validating React-tRace
  7. 10:38Future research with React-tRace
  8. 11:19Key takeaways
  9. 11:40Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.