Next.js native routing stopped working #381
-
Hello, I wanted to try using usequerystate in my project, so I installed it. However, after installing it, the native routing in Next.js stopped working, even though I reinstalled everything. None of the hooks usePathname, useRouter, and useSearchParams seem to work. Has anyone else experienced this issue or have an idea why it happened? I've tried everything, but none of the solutions have worked. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I see you closed the discussion, was the issue related with something else? The library does patch the history API, but it forwards everything transparently, it should not impact other hooks, from Next.js or otherwise. |
Beta Was this translation helpful? Give feedback.
I see you closed the discussion, was the issue related with something else?
The library does patch the history API, but it forwards everything transparently, it should not impact other hooks, from Next.js or otherwise.