Next.js 16: Fixing "cookies() can't be read inside 'use cache'" (and Caching Public Data Without It)
DEV Community
Next.js 16: Fixing "cookies() can't be read inside 'use cache'" (and Caching Public Data Without It)
You turn on Cache Components, add 'use cache' to a data function, and the build fails: Error:...
0 comments
No comments yet.