Type something to search...

Blog

Next.js File-system conventions

Next.js File-system conventions

Every framework has to answer one boring but load-bearing question: how does a folder full of files turn into a running application? Most React frame

Dive Deeper
Next.js Font Module

Next.js Font Module

If you've already read a getting-started guide on fonts in Next.js, you know the basics: import a font from next/font/google, slap the className

Dive Deeper
Next.js Font Optimization

Next.js Font Optimization

Web fonts have a reputation for quietly wrecking performance scores. You add a nice-looking Google Font to your project, ship it, and a week later so

Dive Deeper
Next.js  forbidden function

Next.js forbidden function

Most tutorials on handling errors in Next.js focus on the easy case: the thing doesn't exist, so you show a 404. Far fewer talk about the case that a

Dive Deeper
Next.js  forbidden.js

Next.js forbidden.js

Most authorization failures in a web app fall into one of two buckets, and they deserve different responses: "you're not logged in" (401, please sign

Dive Deeper
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