79402094

Date: 2025-01-31 08:06:07
Score: 1.5
Natty:
Report link

It appears to be a known issue which might someday be solved. A pull request was made but has yet to be merged.

Googling for vue url query parameter alphabetical order led me to the issue Query parameters are rearranging on page load #3578 that seems to describe exactly what you are seeing too.

That issue was Closed as a duplicate of Why is it designed as below? it will cause history.replaceState method to be called #3447 which mentions a replaceState function in the Vue framework that perhaps should not be called.

That issue is still Open and is linked to a pull request feat: optimize method to determine whether the two path are the same in ensureUrl methods #3477 that might fix the issue. From a quick glance I think it has to do something with comparing the list of query parameters to decide whether or not they contain the same keys.

It appears the last activity on these issues was in 2021 so it might not be solved anytime soon.

To solve this flicker, maybe you could order the parameters alphabetically yourself?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: JorisJ1