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

Doesn't seem to work in a React application using HashRouter from react-router-dom #33

Open
mchiocca opened this issue Feb 23, 2018 · 0 comments

Comments

@mchiocca
Copy link

When I use HashRouter from react-router-dom in my React application, the calculation of the URL doesn't seem to correct. For example, If I'm on https://localhost/#/foo/bar and I click a tab on that page, I expect the URL to change to this, https://localhost/#/foo/bar#tab. However, the plugin changes the URL to something like https://localhost#tab so I've lost /#/foo/bar from the URL. Then, using the back and forward buttons to navigate won't work correctly.

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

1 participant