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.
My Google sign-up worked every time I tested it. My first two real users got nothing.

My Google sign-up worked every time I tested it. My first two real users got nothing.

Comments 3
4 min read
Our signup creates a Stripe customer before it creates the user, and checks for a duplicate account twice

Our signup creates a Stripe customer before it creates the user, and checks for a duplicate account twice

Comments 1
5 min read
I gamified my GitHub streak into a garden

I gamified my GitHub streak into a garden

2
Comments 1
2 min read
Building a job portal with Next.js 15 route handlers: auth, applications, and the schema behind them

Building a job portal with Next.js 15 route handlers: auth, applications, and the schema behind them

Comments
5 min read
Six lines guard every ?next= in our app, and the case people miss is a backslash

Six lines guard every ?next= in our app, and the case people miss is a backslash

Comments
5 min read
Our marketing pages never read your session, so the header guesses from a cookie with useSyncExternalStore

Our marketing pages never read your session, so the header guesses from a cookie with useSyncExternalStore

Comments
4 min read
Our alert endpoint rate-limits on a string the caller typed, and only then asks who they are

Our alert endpoint rate-limits on a string the caller typed, and only then asks who they are

Comments
6 min read
One Redis client that is allowed to be null, and three callers that each answer differently

One Redis client that is allowed to be null, and three callers that each answer differently

Comments
5 min read
Our analytics keeps your visitor ID in a JavaScript variable, because the mode that stores nothing also turns off session replay

Our analytics keeps your visitor ID in a JavaScript variable, because the mode that stores nothing also turns off session replay

Comments
5 min read
1,216 of our stylesheet's 3,133 lines draw two fake phones, and 294 lines serve 420 of our pages

1,216 of our stylesheet's 3,133 lines draw two fake phones, and 294 lines serve 420 of our pages

Comments
5 min read
PostHog's endpoints end in a slash and Next.js strips trailing slashes, so our analytics path is a negative lookahead

PostHog's endpoints end in a slash and Next.js strips trailing slashes, so our analytics path is a negative lookahead

Comments
4 min read
How I built Entry's homepage preview

How I built Entry's homepage preview

1
Comments
5 min read
A password reset that ignored its own error could change the password of whoever was already signed in

A password reset that ignored its own error could change the password of whoever was already signed in

Comments
4 min read
Programmatic SEO at 27,854 pages: keeping every route page unique

Programmatic SEO at 27,854 pages: keeping every route page unique

Comments
2 min read
Four security bugs AI coding agents keep writing in Next.js + Supabase apps (and 4 false positives I fixed in my scanner)

Four security bugs AI coding agents keep writing in Next.js + Supabase apps (and 4 false positives I fixed in my scanner)

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