Replies: 1 comment
-
You can do this by setting the When you're ready to update the URL, call the state updater function with the default value for throttleMs and it will do the update. Edit: I forgot there was a test case for that: Screen.Recording.2025-06-17.at.23.29.18.mov |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a use case where in a modal where users adjust filters, the UI needs to respond instantly while the URL should update only after confirmation.
Because each
setQueryState
call writes straight to the address bar, the browser history fills with redundant states, cancelling edits is awkward, and users can copy links that don’t reflect the final selection.A method to keep changes in memory and commit them in one transaction would be nice.
Thanks for maintaining nuqs.
Beta Was this translation helpful? Give feedback.
All reactions