Updating searchParams while using parallel routes doesn't update it for the initial page #62451
Labels
bug
Issue was opened via the bug report template.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/spojskic/nextjs-parallel-routes-issue
To Reproduce
npm i
orpnpm i
npm run dev
orpnpm run dev
Edit
button on any user in table to open second page side by sideCurrent vs. Expected behavior
Following the steps from previous section, I expected for pagination to work, but it didn't. After updating the URL with new search params with parallel route nothing happens but it should fetch new data based on
current_page
search param.Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.3.0: Wed Dec 20 21:31:00 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6020 Binaries: Node: 20.10.0 npm: 10.4.0 Yarn: N/A pnpm: 8.15.3 Relevant Packages: next: 14.1.0 eslint-config-next: N/A 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)
App Router, Routing (next/router, next/navigation, next/link)
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: