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.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Next.js

Next.js

Related news:

News photo

Chris.lu: How I Used Next.js and MDX to create a modern, static-first Blog

News photo

Show HN: an AI copilot for Next.js developers

News photo

It's not just you, Next.js is getting harder to use