~/talk

Even Your Components Need a Safety Net: React Error Handling Deep Dive

Talkat React Miami 2025 · 2025-04-17..04-18· [react, observability]
slides:none on file

Sentry parses React component stack traces (not just error stacks), uses source maps to unminify them, and ties those frames to UI components so debugging narrows down to the actual line and parent components. Sentry exposes a Sentry.react error handler that plugs into React 19’s hooks — onRecoverableError and the on‑caught/on‑uncaught style hooks — to auto‑report errors without wrapping every component. It works in most apps but not Next.js unless a risky monkey‑patch is applied.

AI-written summary · about

~/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.