1 person reported

All time, since Sep 11.

Docs misuse React cache()

“Two pages recommend React cache() in contexts where it does not memoize, without qualification.”

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/4255/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

Docs recommend React cache() where it does not memoize. The Authentication guide builds its Data Access Layer on cache() and tells you to call it from Route Handlers and Server Actions.

Is this your bug?

File my report
Where
Authentication guide docs
Versions
16.3.4
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. Docs: React cache() recommended for Route Handlers and Server Actions in the Authentication guide and after() reference, where it does not memoizeOn GitHub#98578
  2. Docs: Authentication guide recommends React cache() for Route Handlers and Server Actions, where it does not memoizeOn GitHub#98577

Do you work on Next.js?

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