Next13 getCookie
devDalys opened this issue · comments
Hi
Help please, I'm trying to use your library with Next13 and the App folder and I getCookie always returns undefined on the server side
While the standard cookies().get() method from next/headers gives a valid response
Hello,
In the current version of cookies-next
, it is not possible to use getCookie
in React Server Components
or Server Actions
. However, I have submitted PR #55, where I implemented a solution that provides the possibility to seamlessly use cookies-next
in Next.js 13+. I'm waiting for @andreizanik to merge this PR, so stay in touch.
I am having the same problem.... Next.js 14 already has arrived and still no update to supports v13