Frameworks
From React basics to a deployed, SEO-ready App Router app.
A practical path through modern Next.js: the App Router, Server and Client Components, data fetching and caching, mutations, styling, SEO and shipping. Each subject links the official docs, articles from this blog and interview questions to check yourself.
Next.js is React with a router, a server and opinions. Get comfortable with components, props, state and hooks first — everything later builds on them.
Split UI into small functions that return markup.
Data flows down through props; state is a component's memory.
useState, useEffect, useRef and friends — and the rules that keep them predictable.
Folders are routes. Learn how app/ maps to URLs, how layouts nest, and how to organise a growing tree.
A page.tsx makes a folder a public route.
Shared UI that persists across navigations, and <Link> between pages.
[slug] segments, async params, and 404s for unknown ids.
(folders) organise routes and layouts without changing URLs.
Components render on the server by default. Know what ships to the browser, where the client boundary goes, and how to stream slow parts.
Read data next to the markup that needs it; send no JavaScript for it.
"use client" for interactivity — pushed as deep as it can go.
loading.tsx and <Suspense> let the fast parts arrive first.
Fetch on the server, cache on purpose, revalidate when data changes — and never in a loop.
async components, parallel requests with Promise.all.
Time-based and on-demand revalidation, cache tags.
One query per row turns a list page into a hundred round trips.
Change data with Server Actions, expose endpoints with Route Handlers, and guard private routes.
Forms that post straight to a server function; pending and optimistic UI.
route.ts for JSON APIs, webhooks and anything that isn't a page.
proxy.ts runs before routing; sessions live in httpOnly cookies.
Tailwind for styles, next/font for zero-shift fonts, next/image for images that don't sink your LCP.
Utility classes, responsive variants and a dark mode.
Self-hosted Google fonts with no layout shift.
Explicit sizes, sizes per breakpoint, priority only on the LCP image.
Metadata, share cards, a sitemap — then deploy it and keep it fast.
A unique title and description per route, and a share card for each.
sitemap.ts and robots.ts: what to crawl, what to skip.
Build output, environment variables, and a deploy you can undo.
Optional, and worth it: unit tests for logic, one end-to-end test for the path that pays the bills.
Fast tests for utilities and components.
Drive a real browser through a real flow.