Rank, 14 days: 19 on the Next.js sheet
1 person reported

All time, since Oct 31.

cookies() throws InvariantError in dev when form submits before hydration

“Open / in a browser with JavaScript disabled (or submit the form before hydration finishes).”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/next-js/issues/23606/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

With cacheComponents enabled in next dev, clicking "go" on a Server Action form with JavaScript disabled or before hydration finishes triggers the error.

Is this your bug?

File my report
Where
next dev server
Versions
16.4.3
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. cookies() throws InvariantError in next dev with cacheComponents when a Server Action form is submitted before hydrationOn GitHub#101002
  2. cookies() throws InvariantError in next dev with cacheComponents when a Server Action form is submitted before hydrationOn GitHub#101000

Do you work on Next.js?

Claim its RAP Sheet to see what your users report and answer them in one place.