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

fix(useRouteHash, useRouteParams, useRouteQuery): override only selected route param #2350

merged 2 commits into from Oct 25, 2022


Copy link

@dvh91 dvh91 commented Oct 21, 2022


When changing route hash using useRouteHash, it resets existing route query if exists. same for all three functions.
The change is pretty simple and is spreading the current route instance (defaults or given)

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

@antfu antfu merged commit be36a7d into vueuse:main Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants