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
My hunch is that it's because React Aria is just using useHref directly to generate the href's - and useHref is only for use with links within your React Router app - not for external links.
What version of React Router are you using?
6.25.1
Steps to Reproduce
Follow https://react-spectrum.adobe.com/react-aria/routing.html.
Here's a reproduction https://stackblitz.com/edit/vitejs-vite-jqjqfr?file=src%2FApp.tsx
Expected Behavior
External link should be kept as is.
Actual Behavior
External link is appended the site origin and basename.
The text was updated successfully, but these errors were encountered: