Jonatan Matajonmatum.com
conceptsnotesexperimentsessays
© 2026 Jonatan Mata. All rights reserved.v2.1.1
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

  • Next.js Documentation — Official documentation.
  • Next.js Blog — Vercel, 2024. Next.js announcements and updates.
  • Next.js on Vercel — Vercel, 2024. Deployment and optimization guide.

Related content

  • React

    JavaScript library for building user interfaces through declarative, reusable components, with an ecosystem spanning from SPAs to full-stack applications with Server Components.

  • Serverless

    Cloud computing model where the provider manages infrastructure automatically, allowing code execution without provisioning or managing servers, paying only for actual usage.

  • Building a Second Brain in Public

    Chronicle of building a second brain with a knowledge graph, bilingual pipeline, and agent endpoints — in days, not weeks, and what that teaches about the gap between theory and working systems.

  • Tailwind CSS

    Utility-first CSS framework enabling design building directly in markup using atomic classes, eliminating the need to write custom CSS.

  • State Management

    Patterns and libraries for managing frontend application state predictably, from local component state to shared global state.

  • Server Components

    React paradigm where components execute on the server, sending only HTML to the client, reducing the JavaScript bundle and improving performance.

Concepts