Concepts

Next.js

React framework for full-stack web applications with Server Components, file-based routing, SSR/SSG, and built-in performance optimizations.

seed#nextjs#react#framework#ssr#ssg#app-router#vercel

What it is

Next.js is the most popular React framework for production web applications. It provides routing, rendering (SSR, SSG, ISR), optimizations, and API routes out of the box.

App Router (Next.js 13+)

ConceptFunctionExample
Server ComponentsComponents that run on the server (default)Data fetching without useEffect
Client ComponentsInteractive components ('use client')Forms, event handlers
LayoutsShared UI between routesPersistent header, sidebar
Loading/ErrorPer-route loading and error statesSkeleton screens, error boundaries
Route HandlersAPI endpointsapp/api/data/route.ts

Rendering strategies

StrategyWhenUse
SSGBuild timeStatic content
SSRRequest timeDynamic data
ISRPeriodic revalidationSemi-static content
StreamingProgressiveFast UX with slow data

This site uses Next.js

jonmatum.com is built with Next.js App Router, using SSG for content pages and API routes for the knowledge graph.

Why it matters

Next.js is the most widely adopted React framework for production. Server Components, App Router, and automatic performance optimizations make it the default choice for web applications that need SEO, speed, and a modern development experience.

References

Concepts