#ServerComponents
共 1 篇文章
解决 Next.js 报错 Cookies can only be modified in a Server Action or Route Handler 修复
排查 Next.js App Router 在服务端组件(RSC)中调用 cookies().set() 报错 Cookies can only be modified in a Server Action or Route Handler,分析 RSC 只读约束。
共 1 篇文章
排查 Next.js App Router 在服务端组件(RSC)中调用 cookies().set() 报错 Cookies can only be modified in a Server Action or Route Handler,分析 RSC 只读约束。