ionic
ionic copied to clipboard
fix: Empty `route.params` object on navigation
🐛 The bug
When navigating to a new page, the route.params
object from useRoute
is empty.
🛠️ To reproduce
https://stackblitz.com/edit/github-hz29vt?file=pages/tabs/tab1.vue
🌈 Expected behaviour
It should be an object with the current route parameters, query, etc.
ℹ️ Additional context
- It works properly on
0.6.1
. - After navigating, reloading the page makes the
route.params
object show the correct content.