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
Hi there.
There is a problem in Promise when I use the useUrlSearchParams API. The reason for this problem is that window.history.replaceState use frequently in Promise is not recommended.
Reproduction
Steps
Keep pressing the button to switch pages about 30 times
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Describe the bug
Hi there.
There is a problem in Promise when I use the
useUrlSearchParams
API. The reason for this problem is thatwindow.history.replaceState
use frequently in Promise is not recommended.Reproduction
Steps
Preview
https://1eylfj.csb.app/?page=1
solution
UseUrlSearchParamsOptions
true
, it does not perform thewrite
functionReproduction
https://1eylfj.csb.app/?page=1
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: