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
Is there any way to navigate forward/back via wouter?
The text was updated successfully, but these errors were encountered:
There is! Just use standard history object methods. Like history.back() or history.go(-1). We have proper support for this behaviour in our tests:
history
history.back()
history.go(-1)
https://github.com/molefrog/wouter/blob/master/test/use-location.test.js#L33
Sorry, something went wrong.
Oh! Overlooked patched popstate https://github.com/molefrog/wouter/blob/master/use-location.js#L9. Thanks @molefrog!
popstate
No branches or pull requests
Is there any way to navigate forward/back via wouter?
The text was updated successfully, but these errors were encountered: