cancel headers() caching #64922
Labels
bug
Issue was opened via the bug report template.
Pages Router
Related to Pages Router.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/MrOxMasTer/shopco/commit/9da44da590d9317cda07f6949a9982dd004952c7
To Reproduce
Current vs. Expected behavior
Every time the menu is opened, the data from headers() should be updated and with some processing put a new link (href) in the close button.
Provide environment information
Operating System: Platform: win32 Arch: x64 Version: Windows 11 Pro Available memory (MB): 16320 Available CPU cores: 6 Binaries: Node: 20.12.2 npm: N/A Yarn: N/A pnpm: N/A Relevant Packages: next: 14.2.1 // There is a newer version (14.2.2) available, upgrade recommended! eslint-config-next: 14.1.3 react: 18.2.0 react-dom: 18.2.0 typescript: 5.4.5 Next.js Config: output: standalone
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), Other (Deployed)
Additional context
I've tried all the different functions from noStore() to setting the page dynamic='force-dynamic', but no way to get an updated header
The text was updated successfully, but these errors were encountered: