01

Server Component

无额外 HTTP 与浏览器 JavaScript

Next.js 服务端渲染 → page.tsx → 直接调用服务层
服务端收到:来自 Server Component
02

Route Handler

显式 HTTP 与 JSON

浏览器 → fetch → /api/message → 服务层

等待提交

03

Server Action

由 React 与 Next.js 管理传输

浏览器 → form action → Server Action → 服务层

等待提交