Type something to search...

Blog

Next.js generateViewport

Next.js generateViewport

If you've ever squinted at a site on your phone because the text rendered tiny and zoomed-out, you've felt the absence of a proper viewport meta tag.

Dive Deeper
Next.js Handling redirects

Next.js Handling redirects

"Just redirect the user" sounds like it should have one obvious answer, and in Next.js it deliberately doesn't — because "redirect after this form su

Dive Deeper
Next.js headers

Next.js headers

Every incoming HTTP request carries a bundle of headers you never see in your component tree by default — the user-agent, the authorization token

Dive Deeper
Next.js How revalidation works

Next.js How revalidation works

Most Next.js developers interact with revalidation at a very shallow level: you call revalidateTag() after a mutation, or you set a cacheLife pro

Dive Deeper
Next.js Image Component

Next.js Image Component

Images are usually the single heaviest thing on a web page, and they are also the thing most likely to wreck your Core Web Vitals if you leave them u

Dive Deeper
Next.js ImageResponse

Next.js ImageResponse

Every time a link to your site gets dropped into Slack, iMessage, or Twitter, something has to decide what the preview card looks like. For most site

Dive Deeper