Skip to content

Use next/root-params in i18n/request.ts#6

Merged
aurorascharff merged 1 commit into
aurorascharff:mainfrom
amannn:root-params-request
Mar 27, 2026
Merged

Use next/root-params in i18n/request.ts#6
aurorascharff merged 1 commit into
aurorascharff:mainfrom
amannn:root-params-request

Conversation

@amannn

@amannn amannn commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

This avoids reading headers, by reading from next/root-params in i18n/request.ts.

Once next/root-params is announced by the Next.js team, I'll be sure to publish my blog article at amannn/next-intl#1632 (currently WIP) with a bit more background on the relevant changes here :)

@vercel

vercel Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

@amannn is attempting to deploy a commit to the Aurora Scharff's projects Team on Vercel.

A member of the Team first needs to authorize it.

@aurorascharff

Copy link
Copy Markdown
Owner

Fantastic!

@aurorascharff aurorascharff merged commit 785493f into aurorascharff:main Mar 27, 2026
1 of 2 checks passed
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.

2 participants