Get the latest tech news
Next.js, Just Why?
Next.js has been one of the most frustrating frameworks I've ever worked with.
Props to the Next.js team for transitioning to web standards, but I’d argue it just made things worse with inconsistent APIs ( IncomingMessage vs Request). This makes less sense when realize that API route handlers and middleware lets you access the Request object. I don’t want to assume anything malicious on Next.js’ or Vercel’s end, but they just seem to outright ignore issues on setting cookies inside page.tsx.
Or read this on Hacker News