~/talk

Debugging SSR in Next.js Apps like a Pro

slides:none on file

Adds an npm script called debug that runs Next.js with Node inspection, then connects via Chrome DevTools (chrome://inspect) to attach to the server process, open the server-side new.js file and set breakpoints. Finds the bug: the fetch returned a Response object so code needs data = await response.json() (renamed variable from response), fixes it and the page renders the returned array. Demonstrates debugging SSR end-to-end and that it works.

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.