-
If you are using Remix or React Router 7, there is a good chance you want to set But currently I don't think its possible to change the global defaults. So it becomes very tedious to add it to all your It would make sense to be able to set the defaults yourself by maybe providing them to the |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Aug 14, 2025
Replies: 1 comment 7 replies
-
+1 to this idea (same as all adapters in general, e.g. Next.js adapter). I would propose something like: <NuqsAdapter defaultOptions={{ shallow: false }}> // new prop
{children}
</NuqsAdapter> And then: export function useNuqsWhateverAdapter(defaultConfig): AdapterInterface { // new func arg
// ...
} |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
made a PR here to add
shallow
as a potential defaultOption: