Type something to search...

Blog

Next.js Form Component

Next.js Form Component

If you've spent any time with the App Router, you've probably already reached for Server Actions to handle form submissions — a user fills something

Dive Deeper
Next.js Creating forms with Server Actions

Next.js Creating forms with Server Actions

For most of the last decade, building a form in a React app meant the same ritual: wire up useState for every field, write an onSubmit handler th

Dive Deeper
Next.js generateImageMetadata

Next.js generateImageMetadata

Most of the time, a favicon or an Open Graph image in a Next.js app is a single static file sitting next to a route: one icon.png, one `opengraph-i

Dive Deeper
Next.js  generateMetadata function

Next.js generateMetadata function

Every page you ship eventually gets shared somewhere — pasted into Slack, tweeted, indexed by Google, unfurled in an iMessage thread. What determines

Dive Deeper
Next.js generateSitemaps

Next.js generateSitemaps

A single sitemap.xml file works fine right up until it doesn't. The sitemap protocol caps every file at 50,000 URLs (and 50MB uncompressed), and lo

Dive Deeper
Next.js generateStaticParams

Next.js generateStaticParams

Dynamic route segments like app/blog/[slug]/page.tsx are, by default, rendered on demand: the first time someone requests /blog/hello-world, Next

Dive Deeper