N
Nuxt5mo ago
creogen

How to update the query param in the URL without causing re-rendering?

Good day, beautiful people! Can someone explain to me why changing the query in the URL leads to page re-rendering? More importantly, how can I avoid it? Using history.replaceState() or history.pushState() works just fine, but why is it impossible to use router methods instead? When you are using a router.replace with the same path changing only the query in Vue.js doesn't cause the re-rendering of all tree. But it does in Nuxt and it's confusing me a lot.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server