~/talk

Debugging With JS Frameworks

Talkat Connect.Tech 2022 · 2022-11-07..11-09· [javascript]
slides:none on file

Demonstrates concrete fixes: uses the Replay time‑travel debugger plus Chrome/Firefox DevTools, React/Vue DevTools and Redux to reproduce and inspect bugs, not just theorize. Replays show a resize handler executed 95 hits where elementNewWidth drops to NaN because scaleX becomes negative Infinity after dividing by bounds.currentWidth = 0; adding a guard and commenting the root causes gets a fix merged the next day. Another bug shows missing panel logic when dispatching setViewMode in Redux; moving the panel decision into the action centralizes state and stops the layout break.

AI-written summary · about

  1. 0:00Introduction to debugging
  2. 2:05Why debugging is hard
  3. 5:59Debugging a real-world bug
  4. 10:38Inspecting tools for debugging
  5. 14:29Evaluating tools for debugging
  6. 17:39Understanding application behavior
  7. 18:01Debugging frameworks like Vue
  8. 24:00Debugging framework internals
  9. 26:09Common JavaScript patterns
  10. 31:48Debugging React and Redux
  11. 37:28Why debugging matters
~/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.