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
4.0.14
codesandbox.io
--created page component-- useRoute.params: {pageId: "1"} undefined $route.params: {pageId: "1"} undefined useRoute.params: {} {pageId: "1"} $route.params: {} {pageId: "1"} --unmounted page component-- useRoute.params: {pageId: "1"} {} // <- twice called. --created page component-- useRoute.params: {pageId: "1"} undefined // <- twice called. $route.params: {pageId: "1"} undefined
watch occurs only once.
watch occurs twice.
If you don't use pinia store with useRoute and watch, then works correctly.
The text was updated successfully, but these errors were encountered:
This will be fixed by vuejs/core#5575
The regression was introduced in vue@3.2.30 so you can use the precedent version until a new one is released.
vue@3.2.30
Sorry, something went wrong.
No branches or pull requests
Version
4.0.14
Reproduction link
codesandbox.io
Steps to reproduce
What is expected?
watch occurs only once.
What is actually happening?
watch occurs twice.
If you don't use pinia store with useRoute and watch, then works correctly.
The text was updated successfully, but these errors were encountered: