Skip to content

docs: align redirect comment with website docs#94536

Draft
louzhedong wants to merge 1 commit into
vercel:canaryfrom
louzhedong:docs/redirect-client-components-comment
Draft

docs: align redirect comment with website docs#94536
louzhedong wants to merge 1 commit into
vercel:canaryfrom
louzhedong:docs/redirect-client-components-comment

Conversation

@louzhedong
Copy link
Copy Markdown

Summary

Align the inline redirect comment with the website docs by mentioning client components.

Why

The docs page already states that redirect can be used from client components, but the code comment only listed server components, route handlers, and server actions.

What changed

  • Added Client Components to the redirect comment block

Verification

  • Documentation-only change; no runtime behavior changed

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.

1 participant