Next RSC: cookies().set() in validateRequest #1540
-
Hi there! I have followed the Next App Router tutorial and for the
However, Next's documentation says that a query from a server component should not have side-effects vercel/next.js#49843 (comment) Is this still open for discussion or a solved topic? Thanks :) |
Beta Was this translation helpful? Give feedback.
Answered by
pilcrowOnPaper
Apr 19, 2024
Replies: 1 comment 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
rwieruch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
cookies().set()
throws an error when rendering the server component, which is patched by adding a try/catch