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.
Server Actions Don't Need CSRF Protection, Your API Routes Still Do, and Mixing That Up Is a Real Hole

Server Actions Don't Need CSRF Protection, Your API Routes Still Do, and Mixing That Up Is a Real Hole

Comments
4 min read
Cache Components changed how I think about a page

Cache Components changed how I think about a page

Comments
7 min read
Nothing on our landing page talks to another domain, which is why there is no cookie banner

Nothing on our landing page talks to another domain, which is why there is no cookie banner

Comments
5 min read
Our invite link is a GET that changes state, and you can watch it refuse you from a terminal

Our invite link is a GET that changes state, and you can watch it refuse you from a terminal

Comments
6 min read
Our site works out its own URL once, and a preview deploy getting that wrong costs us the index

Our site works out its own URL once, and a preview deploy getting that wrong costs us the index

Comments
5 min read
How I stopped double bookings with one Postgres constraint (no locks, no race conditions)

How I stopped double bookings with one Postgres constraint (no locks, no race conditions)

Comments
3 min read
Ten things our middleware is not allowed to touch, and a 404 is how we prove it

Ten things our middleware is not allowed to touch, and a 404 is how we prove it

Comments
5 min read
Next.js on Cloudflare Workers: 3 bugs that only showed up in production

Next.js on Cloudflare Workers: 3 bugs that only showed up in production

Comments
6 min read
I Built TikStory: A No-Login TikTok Story Viewer on Next.js and Cloudflare Workers

I Built TikStory: A No-Login TikTok Story Viewer on Next.js and Cloudflare Workers

Comments
4 min read
Two URL spaces, one index page, and a ternary whose branches are identical

Two URL spaces, one index page, and a ternary whose branches are identical

Comments
7 min read
Our title template spends 10 of our 60 characters, so a test counts them instead of us

Our title template spends 10 of our 60 characters, so a test counts them instead of us

Comments
6 min read
Our support form does not ask you to sign in, because the person who cannot sign in is the one we most need to hear from

Our support form does not ask you to sign in, because the person who cannot sign in is the one we most need to hear from

Comments
6 min read
Eight error files, three of them doing completely different jobs, and the one that exists only to stop an escalation

Eight error files, three of them doing completely different jobs, and the one that exists only to stop an escalation

Comments
7 min read
Our robots.txt is 781 lines, and 688 of them are one rule written 344 times

Our robots.txt is 781 lines, and 688 of them are one rule written 344 times

Comments
6 min read
Install Underpeaks Core: A Free, Self-Hosted Headless CMS for Flutter and Next.js

Install Underpeaks Core: A Free, Self-Hosted Headless CMS for Flutter and Next.js

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