Blog

Next.js dynamicParams
generateStaticParams tells Next.js which specific values of a dynamic segment to prerender at build time. But real traffic doesn't always stick to
Dive Deeper
Ensuring instant navigations
Every framework promises fast navigation. Next.js is one of the few that gives you a way to actually verify it, route by route, before a user ever co
Dive Deeper
Nextjs Environment variables
Every non-trivial application needs a way to keep secrets, connection strings, and per-environment settings out of the codebase. A database password
Dive Deeper
Next.js error.js
An error.js file gives a route segment its own React error boundary, automatically. Instead of manually wrapping trees of components in error-catch
Dive Deeper
Nextjs fetch function
Every Next.js developer meets fetch on day one, and most of them assume it behaves exactly like the fetch they already know from the browser. It
Dive DeeperNext.js favicon, icon, and apple-icon
App icons look like the simplest possible piece of metadata to get right — drop an image somewhere, done — until you actually try to cover every surf
Dive Deeper