You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing url query through or router.push with { shallow: true } the page acts like it is the first render. It defeats the purpose of using usePaginatedQuery, making react-query loose it's last successfully resolved data from previous page. In Next.js that doesn't happen.
Paste all your error logs here:
N/A
Paste all relevant code snippets here:
N/A
What are detailed steps to reproduce this?
Go to [https://codesandbox.io/s/cranky-tereshkova-bveyr?file=/app/pages/router.tsx]
Go to /router?page=2 in the internal browser
Click links
Check the console
Run blitz -v and paste the output here:
Blitz CodeSandbox Example from blitz.com home page
The text was updated successfully, but these errors were encountered:
What is the problem?
When changing url query through or router.push with { shallow: true } the page acts like it is the first render. It defeats the purpose of using usePaginatedQuery, making react-query loose it's last successfully resolved data from previous page. In Next.js that doesn't happen.
Paste all your error logs here:
Paste all relevant code snippets here:
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:The text was updated successfully, but these errors were encountered: