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 using hash router there are couple of bugs.
cmd+click
#
url
cmd + click
#/posts
https://codesandbox.io/s/react-location-basic-with-hash-forked-wqxkpn
posts
post
/#/posts
/#/posts/1, but is instead
, it loses the
/#/posts/1
/#/posts/2
getActiveProps
bold
react-router
react-location
No response
The text was updated successfully, but these errors were encountered:
Should be fixed in TanStack Router
Sorry, something went wrong.
Link
No branches or pull requests
Describe the bug
When using hash router there are couple of bugs.
cmd+click
which opens a link in a new tab doesn't work properly#
from theurl
url
https://fr7v18.csb.app/#/posts/1 and withcmd + click
on another post it opens https://fr7v18.csb.app/posts/2, but it should be https://fr7v18.csb.app/#/posts/2, the#
sign is missingurl
to https://fr7v18.csb.app/posts/2#/posts, it adds#/posts
at the end, but theurl
should be https://fr7v18.csb.app/#/postsurl
in the browser, it doesn't redirect to thaturl
, only after a refreshYour Example Website or App
https://codesandbox.io/s/react-location-basic-with-hash-forked-wqxkpn
Steps to Reproduce the Bug or Issue
cmd + click
on posts link in the navigation, it opens in another tab#
sign afterposts
but it doesn'turl
of the#
and click again on apost
navigation linkurl
should be correct/#/posts
cmd + click
on post 1, it should open on another taburl
should be/#/posts/1, but is instead
/posts/1, it loses the
#`/#/posts/1
url and manually change it to the second post/#/posts/2
getActiveProps
makes itbold
)Expected behavior
url
on a new tab should keep the#
in the url, when using hash routerurl
should open given page without the need for refreshreact-router
, it would be great if it worked inreact-location
as wellScreenshots or Videos
Screen.Recording.2022-07-26.at.08.18.46.mov
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: