Replies: 1 comment 3 replies
-
Looking at what happens if I remove nuqs from the equation, the page renders 3 times when using only Adding nuqs does add one render, and it looks like it catches up with useSearchParams on that last one: when navigating from I'll look into that, thanks for the report. |
Beta Was this translation helpful? Give feedback.
3 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.
-
I'm experiencing an issue where nuqs-generated state is being computed multiple times within a single render cycle after navigating to a different query using Next.js Link component.
Steps to reproduce
Example
Consider the component that performs the calculation below.
When a query moves from
abc
toxyz
by Next.js Link component ...Expected behavior
Actual behavior
Questions
playground(codesandbox): https://codesandbox.io/p/devbox/pycycm
Beta Was this translation helpful? Give feedback.
All reactions