~/talk

Error Boundaries Save You From Crashes! Here's How to Use It

Talkat RenderATL 2022 · 2022-06-01..06-03· [react, frontend-architecture]
slides:none on file

Shows an actual banking demo that uses a Mirage JS mock API and flips a 500 response to prove one failing widget can unmount the whole tree unless wrapped. Demonstrates replacing a blank crash with a customizable fallback UI, and argues to wrap components individually so one error only hides its own part. Lists practical limits: no capture for event handlers, async code, server‑side rendering, or errors thrown inside the boundary itself, and suggests sending error alerts for ops.

AI-written summary · about

  1. 0:00Start
  2. 2:03REACT ERROR BOUNDARIES!
  3. 4:11HOW CAN YOU BUILD MORE TRUST WITH CONSUMERS?
  4. 5:55What are Error Boundaries? Error boundaries are React components that catch Javascript errors ANYWHERE in their child component tree and display a fallback Ul instead of unmounting all of the components.
~/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.