Skip to content
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

Docs: Should App/ Page router switcher dropdown redirect to associate pages #72829

Open
Riley1101 opened this issue Nov 14, 2024 · 0 comments
Open
Labels
Documentation Related to Next.js' official documentation.

Comments

@Riley1101
Copy link

What is the documentation issue?

Could this be a more clearer explanation

Hi I am sure this is a small nick pick but we are in a progress of migrating from Page router to App router .
While looking through documentation for route-segment-config

I notice that if you are on a document page that is for App router features and then you select the dropdown to Page router. It still keep you at the App router related document. I think that could cause confusion on to new comers that some of the features from App router could work be in Pages router.

Do you think it would be valuable to redirect you to associate pages between router version switches.

Is there any context that might help us understand?

I notice that while comparing cache invalidation methods between pages router and the new app router.

Go to https://nextjs.org/docs/13/app/api-reference/file-conventions/route-segment-config
In this example below, you are at App dir related docs

Screenshot 2024-11-14 at 4 22 42 PM

Try switching to Page router dropdown .

Screenshot 2024-11-14 at 4 22 36 PM

It will take you to the same page. Which IMO could cause confusion to new comers.

If this is a issue and is something worth doing please let me know I would love to contribute in some ways.

Thanks.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/13/app/api-reference/file-conventions/route-segment-config

@Riley1101 Riley1101 added the Documentation Related to Next.js' official documentation. label Nov 14, 2024
@Riley1101 Riley1101 changed the title Docs: Should App/ Page router switcher dropdown opt out between contents. Docs: Should App/ Page router switcher dropdown redirect to associate pages Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

1 participant