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
mfernandez97
changed the title
Docs: Link documentation - 'With URL Object'
Docs: Link documentation - Remove'With URL Object' section
May 8, 2024
mfernandez97
changed the title
Docs: Link documentation - Remove'With URL Object' section
Docs: Link documentation - Remove 'With URL Object' section
May 8, 2024
The "Dynamic href is not supported in the App Router" error happens when you try to use a dynamic href with next/link in the app directory.
The new client-side router in Next.js does not use a mapping of dynamic routes to URLs, but rather it leverages the URL directly. This means it doesn't support dynamic href use.
App router [does not
support](https://nextjs.org/docs/messages/app-dir-dynamic-href) dynamic
hrefs: removing it from the app router docs, and only having it in the
pages router docs.
Fixes#65505
---------
Co-authored-by: samcx <sam@vercel.com>
What is the update you wish to see?
I would like to see the 'With URL Object' section removed.
Is there any context that might help us understand?
The app router does not support dynamic hrefs as stated here.
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/components/link#with-url-object
The text was updated successfully, but these errors were encountered: