~/talk

Killing Wasted Re-renders With Production Hook Instrumentation

Talkat DevWorld 2026 · 2026-05-07..05-08· [react, frontend-architecture]
slides:none on file

Claims that about half of renders are wasted and demonstrates a concrete fix: build-time Babel AST injection adds production hook insturmentation that wraps every hook when an ENV flag is set, collects which hook and dependency ran, and attributes cost. Demo shows a useEffect causing 50 runs and roughly 2,000 re-renders, identifies a bad reference, applies a targeted code change (not blanket React.memo), and cuts noisy updates by about tenfold.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Wasted re-renders in React
  3. 2:50Demo: re-rendering issues
  4. 3:54Babel for hook instrumentation
  5. 5:57Automating hook wrapping
  6. 7:45Production-safe Babel flags
  7. 8:50Analyzing hook data
  8. 10:14Fixing re-render causes
  9. 11:41Why React.memo fails
  10. 12:23Key takeaways
~/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.