We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When passing # to href for example:
it comes out like this:
View Projects
in the previous API: import { createSharedPathnamesNavigation } from 'next-intl/navigation'
The Link component was working as expected, but with the new API: import { createNavigation } from 'next-intl/navigation'
it is producing the issue that.
Please try to fix the issue in the upcoming version.
https://technodevlabs-q09zvgtxw-mhmdhidr-team.vercel.app
Steps to reproduce:
Open reproduction using the new import { createNavigation } from 'next-intl/navigation'.
Then exporting Link using: export const { Link, redirect, usePathname, useRouter } = createNavigation(routing).
See error: it escapes the # in the href property.
Not to escape # symbol in the href property.
The text was updated successfully, but these errors were encountered:
<Link />
createNavigation
Thanks for the prompt report! A fix is coming up in #1448.
Sorry, something went wrong.
ba0a537
Successfully merging a pull request may close this issue.
Description
When passing # to href for example:
View Projectsit comes out like this:
View Projects
in the previous API:
import { createSharedPathnamesNavigation } from 'next-intl/navigation'
The Link component was working as expected, but with the new API:
import { createNavigation } from 'next-intl/navigation'
it is producing the issue that.
Please try to fix the issue in the upcoming version.
Verifications
Mandatory reproduction URL
https://technodevlabs-q09zvgtxw-mhmdhidr-team.vercel.app
Reproduction description
Steps to reproduce:
Open reproduction
using the new import { createNavigation } from 'next-intl/navigation'.
Then exporting Link using: export const { Link, redirect, usePathname, useRouter } = createNavigation(routing).
See error: it escapes the # in the href property.
Expected behaviour
Not to escape # symbol in the href property.
The text was updated successfully, but these errors were encountered: