How to set a cookie using NextJS 13 API routes
It seems that there is a correct sequence for creating a Response object with a set-cookie header and a JSON body in Next.js 13.
I'm not sure if this is limited to the beta app directory version and typescript.
Problem: typescript is confused?
If you...
codethenporrada.xyz1 min read