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
Click the reset button that navigates user back to index page without search params, eg https://s3d7mt-3000.csb.app/
The page wont re-render.
Current vs. Expected behavior
In nextjs 14.1.1 if I remove all the search params the page will re-render.
In nextjs 14.2.2 and [email protected] the page won't re-render after removing the search params.
That only happens if you visit the page with search params from the start.
Our current workaround is to after pushing the page when there are not search params is to do router.refresh().
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023
Available memory (MB): 4102
Available CPU cores: 2
Binaries:
Node: 20.9.0
npm: 9.8.1
Yarn: 1.22.19
pnpm: 8.10.2
Relevant Packages:
next: 14.3.0-canary.21 // Latest available version is detected (14.3.0-canary.21).
eslint-config-next: 14.1.0
react: 18.2.0
react-dom: 18.2.0
typescript: 5.3.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/elastic-sun-s3d7mt
To Reproduce
The page wont re-render.
Current vs. Expected behavior
In nextjs 14.1.1 if I remove all the search params the page will re-render.
In nextjs 14.2.2 and [email protected] the page won't re-render after removing the search params.
That only happens if you visit the page with search params from the start.
Our current workaround is to after pushing the page when there are not search params is to do router.refresh().
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 14.3.0-canary.21 // Latest available version is detected (14.3.0-canary.21). eslint-config-next: 14.1.0 react: 18.2.0 react-dom: 18.2.0 typescript: 5.3.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Not sure
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: