记录一次用 App Router 复刻公开站点的拆分策略:页面保留为 Server Component,交互只放在明确的 Client Component 边界内,动态路由的 params 按 Promise 处理,构建前把数据和视图的责任边界先切清楚。
Index
#nextjs
1 article tagged with "nextjs"2026
Index
记录一次用 App Router 复刻公开站点的拆分策略:页面保留为 Server Component,交互只放在明确的 Client Component 边界内,动态路由的 params 按 Promise 处理,构建前把数据和视图的责任边界先切清楚。