Nuqs not parsing on pasting the url #685
Labels
adapters/next/pages
Uses the Next.js pages router
bug
Something isn't working
cannot-reproduce
Either no reproduction provided, or cannot reproduce with a minimal setup
duplicate
This issue or pull request already exists
next.js
Issue is related to Next.js internals rather than this library
Context
What's your version of
nuqs
?Next.js information (obtained by running
next info
):Are you using:
basePath
option in your Next.js configwindowHistorySupport
flag in your Next.js configDescription
We are using the useQueryState to parse the state. When I redirect to the page from another page, the library parses it correctly but if I paste the url in a new tab -- the state is not parsed and returns the default value.
E.g.
If I redirect to this page tab="sometingelse" it works, but if I paste the url directly value of tab will not be history
The text was updated successfully, but these errors were encountered: