React Cache Function
Hey, according to Next.js docs, you can cache db queries and similar with the cache function from React, however I do get an error when deploying to Vercel.
https://nextjs.org/docs/app/building-your-application/data-fetching/caching#per-request-caching
What can be the issue?
I can confirm I am using the latest version of next, react and react-dom.
The cache function is indeed imported and used from react like described in the docs;
1 Reply
Sorry: I was using next 13.4.9, upgrading to 13.4.10 solved the issue