DEV Community

Next.js

Next.js gives you hybrid static and server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
We rebuilt a compromised server. Six hours later it was infected again.

We rebuilt a compromised server. Six hours later it was infected again.

1
Comments 1
4 min read
A Vitest test that fails when anyone types one of our prices

A Vitest test that fails when anyone types one of our prices

Comments
6 min read
November 2–8, 2026: Next.js 16.4.5, AI SDK 7.0.165, TanStack AI 1.2

November 2–8, 2026: Next.js 16.4.5, AI SDK 7.0.165, TanStack AI 1.2

5
Comments
7 min read
72,683 lines of TypeScript with one any in them, and two compiler flags that would add 455 errors

72,683 lines of TypeScript with one any in them, and two compiler flags that would add 455 errors

1
Comments
6 min read
Zod does two opposite jobs in our app, and the call shape tells you which one

Zod does two opposite jobs in our app, and the call shape tells you which one

1
Comments
6 min read
A mistyped URL on our site gets the login page instead of our 404, and one capital letter changes which

A mistyped URL on our site gets the login page instead of our 404, and one capital letter changes which

1
Comments
6 min read
Every page on our site is two clicks from home, and 21 of them only because of the footer

Every page on our site is two clicks from home, and 21 of them only because of the footer

1
Comments
6 min read
I told readers to date a Vercel deploy by reading two headers, and both of them moved without a deploy

I told readers to date a Vercel deploy by reading two headers, and both of them moved without a deploy

Comments
5 min read
88 label words on one page, three group counts that are counted rather than typed, and four slugs that would have asked a question of themselves

88 label words on one page, three group counts that are counted rather than typed, and four slugs that would have asked a question of themselves

1
Comments
5 min read
Why 27,854 route pages need a different sitemap strategy

Why 27,854 route pages need a different sitemap strategy

Comments
2 min read
The back button costs nothing on 70 of our pages and a server render on the two that take money

The back button costs nothing on 70 of our pages and a server render on the two that take money

1
Comments 1
4 min read
Our longest search snippet is 148 characters of a 160 character budget, and the 12 that are left over are why the answer is written twice

Our longest search snippet is 148 characters of a 160 character budget, and the 12 that are left over are why the answer is written twice

Comments
5 min read
Vercel bill too high on a Next.js site? What drives it and how to cut it

Vercel bill too high on a Next.js site? What drives it and how to cut it

1
Comments
5 min read
Our "tell us what you'd pay" form sends nothing to the client, and the price in the answer is resolved on the server

Our "tell us what you'd pay" form sends nothing to the client, and the price in the answer is resolved on the server

Comments
6 min read
One string in localStorage decides where signup drops you, and the first page of the visit is the one that writes it

One string in localStorage decides where signup drops you, and the first page of the visit is the one that writes it

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.