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

Warning: You cannot PUSH the same path using hash history #2431

Closed
JoeGrasso opened this issue Oct 31, 2015 · 3 comments
Closed

Warning: You cannot PUSH the same path using hash history #2431

JoeGrasso opened this issue Oct 31, 2015 · 3 comments

Comments

@JoeGrasso
Copy link

In a current project, I was required to go 100% client side routing and not isomorphic. Everything works find, notwithstanding the ugly hashtag, but now, if a user clicks on a link that is the current link, this warning shows up in console:

Warning: You cannot PUSH the same path using hash history

Again, as example, if on the page 'http://localhost:3200/#/About-Us' and the user clicks on the link to="/About-Us", the warning appears.

How to get around this while using 'history/lib/createHashHistory'?

Thanks

@taion
Copy link
Contributor

taion commented Oct 31, 2015

For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.

@taion taion closed this as completed Oct 31, 2015
@agundermann
Copy link
Contributor

Should no longer appear with remix-run/history#43

@molcik

This comment has been minimized.

@remix-run remix-run locked and limited conversation to collaborators Jul 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants