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

RAC Link - wrong href for external links when using RouterProvider with React Router #6803

Closed
universse opened this issue Jul 31, 2024 · 1 comment

Comments

@universse
Copy link

universse commented Jul 31, 2024

Provide a general summary of the issue here

When using RAC RouterProvider with useHref from React Router, the final href is incorrect. Also filed an issue under React Router remix-run/react-router#11856.

🤔 Expected Behavior?

External link is appended to the site origin.

😯 Current Behavior

External link should be kept as is.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Reproduction https://stackblitz.com/edit/vitejs-vite-jqjqfr?file=src%2FApp.tsx

Version

NA

What browsers are you seeing the problem on?

Firefox, Chrome

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

@snowystinger
Copy link
Member

I think this might be a duplicate of #6397

@universse universse closed this as not planned Won't fix, can't repro, duplicate, stale Aug 1, 2024
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

No branches or pull requests

2 participants