Skip to main content

One post tagged with "devtools"

View All Tags

Frontend Debugging Cookbook — React SPA vs. Next.js

· 12 min read
Pere Pages
Software Engineer
Flat-vector split scene: a browser window on the left wired by tracing lines to a server stack and terminal on the right, with a magnifying glass and a small bug — the two runtimes you debug across.

Debugging a React single-page application (SPA) and debugging a Next.js App Router app are different sports, and the whole difference comes down to one thing: where your code runs. This is a recipe-oriented reference for the questions that keep coming up — where your logs went, how to see backend calls, how to observe React Server Components (RSC), and which logging options and tools are worth reaching for.