There’s no Network tab for server-side Next.js
medium.com·6d·
Discuss: r/node, r/reactjs
📘Typescript
Preview
Report Post

Press enter or click to view image in full size

1. The Problem

Browser DevTools only show client-side traffic. When you open the Network tab, you see requests made by JavaScript running in the browser.

But Server Components, Route Handlers, and Server Actions do not run in the browser. They run in Node.js.

As a result, server-side HTTP requests are effectively invisible by default.

When a Server Component fetches data:

// This runs on the serverasync function UserProfile({ userId }: { userId: string }) {  const response = await fetch(`https://api.example.com/users/${userId}`);  const user = await response.json();  return <div>{user.name}</div>;}

That fetch() call never touches the browser. It happens entirely within Node.js on your development …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help