Skip to content

docs(next): wire routes through getPageData and a client renderer - #388

Closed
xiehuanyi wants to merge 2 commits into
vercel-labs:mainfrom
xiehuanyi:docs/next-app-route-380
Closed

xiehuanyi wants to merge 2 commits into
vercel-labs:mainfrom
xiehuanyi:docs/next-app-route-380

Conversation

@xiehuanyi

Copy link
Copy Markdown

The Next quick start previously re-exported a Page that createNextApp() does not return. Show a server page calling getPageData(), handling missing routes with notFound(), and passing data to a separate client PageRenderer; include the spec module export/import so the snippets connect.

Closes #380.

Validation: all five exact README code blocks type-check in a temporary consumer scaffold; the helper resolves the homepage and returns null for an unknown route; all 60 pnpm type-check tasks pass. Temporary validation files are not included in this documentation change.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 07:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

@xiehuanyi is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@xiehuanyi xiehuanyi closed this Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(next-docs): quick start exports a Page that createNextApp does not return

2 participants