#98720·Next.js

Searchparams not working when `cacheComponents` and `draftMode` are enabled

Author: joostmeijlesCreated Sep 16, 2026Updated Sep 16, 2026
LabelsDraft Mode

Link to the code that reproduces this issue

https://github.com/joostmeijles/nextjs-await-searchparams-bug

To Reproduce

  1. Open https://nextjs-await-searchparams-bug.vercel.app/api/draft -> enables Draft Mode and redirects to /.
  2. Click Overview
  3. Click every category in the list, e.g. "A".
    • Expected: Category (via await searchParams): <selected category>
    • Actual: shows always the same category
  4. Hard-reload the URL: the correct content now renders.

Current vs. Expected behavior

Current: page always shows same content, selecting another page by using a search param does not work Expected: page content changes when a different search param is selected

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Pro
  Available memory (MB): 64949
  Available CPU cores: 16
Binaries:
  Node: 24.21.0
  npm: 11.19.0
  Yarn: N/A
  pnpm: 12.3.4
Relevant Packages:
  next: 16.4.0-canary.33 // Latest available version is detected (16.4.0-canary.33).
  eslint-config-next: N/A
  react: 19.3.0
  react-dom: 19.3.0
  typescript: 5.9.3
Next.js Config:
  output: N/A

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

cacheComponents, Draft Mode

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

next start (local), Vercel (Deployed)

Additional context

No response