Clearing Cookie in Next.js
Like any other header, a cookie is also a header that web apps use to store essential information. If you want to clear a cookie from server-side in Next.js (which uses node.js under the hood) you can simply use response's setHeader method like so:
r...
vamsirao.com1 min read
Vamsi S
Nice article