Skip to content

Submitting Query Parameters via a Form does not always update the client with the newly server rendered content #94821

@Erdragh

Description

@Erdragh

Link to the code that reproduces this issue

https://gitlab.com/JanBayer/nextjs-stale-query-param-rendering

To Reproduce

  1. Clone repro repo
  2. Run npm install
  3. Run npm run dev
  4. Open http://localhost:3000 in your browser
  5. Check the first box, click submit
  6. Check the second box, click submit
  7. Uncheck the first box, click submit

Current vs. Expected behavior

Current Behavior:

The query param will have updated and the server will have logged the new update, but the client will not have received the newly rendered content.

Expected Behavior:

The client should see "test2" instead of ["test1", "test2"]

Provide environment information

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Fri Jun  5 01:12:21 UTC 2026
  Available memory (MB): 17560
  Available CPU cores: 8
Binaries:
  Node: 24.15.0
  npm: 11.12.1
  Yarn: N/A
  pnpm: N/A
Relevant Packages:
  next: 16.3.0-canary.51 // Latest available version is detected (16.3.0-canary.51).
  eslint-config-next: N/A
  react: 19.2.7
  react-dom: 19.2.7
  typescript: 5.9.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Form (next/form)

Which stage(s) are affected? (Select all that apply)

next dev (local), next start (local)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions