#App Router

2 items tagged “App Router

TILNext.js1 min read

Route Handlers can return a plain Response, not just NextResponse

TIL you don't need NextResponse for a simple Route Handler — a standard Web API Response works fine, which matters for things like hand-rolled RSS/XML endpoints.

#Next.js
NotesNext.js2 min read

A mental model for Server vs Client Components

The rule of thumb I actually use when deciding whether a component needs 'use client', and how a Server Component parent can still pass data down to it.

#Next.js
© 2026 Sabin Shrestha