You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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
toApp 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 toPage
router. It still keep you at theApp
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
Try switching to Page router dropdown .
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
The text was updated successfully, but these errors were encountered: