Skip to content
Discussion options

You must be logged in to vote

The URL update is deferred, so you need to await all pending promises. You can do so with act:

https://github.com/47ng/nuqs/blob/next/packages/nuqs/src/useQueryState.test.ts#L58-L63

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@uniqueeest
Comment options

@franky47
Comment options

@uniqueeest
Comment options

@franky47
Comment options

Answer selected by uniqueeest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants