fix(useUrlSearchParams): restore proper history and navigation behavior#4969
fix(useUrlSearchParams): restore proper history and navigation behavior#4969antfu merged 7 commits intovueuse:mainfrom yosong-github:main
Conversation
…browser's history recording and navigation functions
useUrlSearchParams has disrupted the browser's history recording and navigation functions
@vueuse/components
@vueuse/core
@vueuse/electron
@vueuse/firebase
@vueuse/integrations
@vueuse/math
@vueuse/metadata
@vueuse/nuxt
@vueuse/router
@vueuse/rxjs
@vueuse/shared
commit: |
|
Thank you for your PR. Can you add some tests for this feature to prevent future regressions? |
…d or backward button of the browser test
No problem. I have already added the unit tests. |
|
I noticed that the test you added would still pass even without your fix. This means the test might not be covering the actual bug. Could you double-check the test logic and make sure it would fail without your patch? |
…d or backward button of the browser test
I revised the unit tests to ensure that without my patch, the program would fail the tests. |
useUrlSearchParams has disrupted the browser's history recording and navigation functionsuseUrlSearchParams has disrupted the browser's history recording and navigation functions
useUrlSearchParams has disrupted the browser's history recording and navigation functions
fix #4968 browser's history recording and navigation functions
Before submitting the PR, please make sure you do the following
fixes #123).Description
fix #4968
Additional context