Skip to content

docs: Add blog post about rootParams #1632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft

Conversation

amannn
Copy link
Owner

@amannn amannn commented Dec 20, 2024

Related to vercel/next.js#72837

→ Draft

TODO

  • Mention that the usage of the middleware is now optional for i18n routing setup and you can provide a completely custom one for complex cases
  • Wait until rootParams lands in Next.js stable
  • Update publishing date
  • Update Next.js version number

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2025 9:08am
next-intl-example-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2025 9:08am
next-intl-example-app-router-without-i18n-routing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2025 9:08am

# Conflicts:
#	docs/src/pages/blog/next-intl-4-0.mdx
@kklem0
Copy link

kklem0 commented Mar 17, 2025

The previously deprecated locale argument will serve an edge case in the future once rootParams is a thing

@amannn shall we still use rootParams with v4.0.2 or is it not ready?

@amannn
Copy link
Owner Author

amannn commented Mar 17, 2025

@kklem0 rootParams was silently released as unstable_rootParams in Next.js 15.2. The Next.js team hasn't publicly announced the feature yet and I think they're still ironing out some edges.

If you decide to give rootParams a try, you can leave a note in #1627 with your findings!

@amannn amannn changed the base branch from docs/v4-beta-blog-post to main April 29, 2025 08:58
…og-post

# Conflicts:
#	docs/src/pages/blog/_meta.tsx
#	docs/src/pages/blog/index.mdx
#	docs/src/pages/blog/next-intl-4-0.mdx
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