You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it's a bug. It's possibly something I'm doing wrong, but I can't figure it out.
I'm getting vue-router warnings in the devtools when I'm on a page that has dynamic parameters and uses useSetI18nParams() and I go to another route that doesn't have parameters.
Reproduction:
click on a product
click about section or home
You will see vue-router warnings at chrome devtools
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Thanks for reporting! It looks like the i18n params are reused (not cleared) while resolving the next route, in most cases this shouldn't be a problem.
There is a specific edge case when resolving a route (that should have parameters) without passing a parameters object. I have modified your reproduction to demonstrate the edge case here, note that the about us without params link only works after navigating to one of the product pages and reuses the product slug.
Environment
Reproduction
https://stackblitz.com/~/github.com/patriciorivera/i18n
https://github.com/patriciorivera/i18n
Describe the bug
I'm not sure if it's a bug. It's possibly something I'm doing wrong, but I can't figure it out.
I'm getting vue-router warnings in the devtools when I'm on a page that has dynamic parameters and uses useSetI18nParams() and I go to another route that doesn't have parameters.
Reproduction:
You will see vue-router warnings at chrome devtools
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: