-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js v15-canary: access to cookies()
should be asynchronously
#22
Comments
The fix should be simple, since we are in a server component, mark the function with |
Released under 2.0.0-alpha.0. Can you check? |
No warnings now, Although I never use it in my app, I did test
|
Thank you. You're right. I've update the types on version The |
This warning is gone now, works perfectly |
Great! I will keep this issue open until Next.js canary is officially released and we can release it as well. |
cookies()
to be called asynchronouslycookies()
should be asynchronously
cookies()
should be asynchronouslycookies()
should be asynchronously
Thanks for the fix, Next 15 is now stable |
Available now under |
The following code:
next-client-cookies/src/server.tsx
Line 9 in 68439a6
Triggers a warning on
next@canary
:Rational
The text was updated successfully, but these errors were encountered: