Next.js Cheatsheet 02 — App Router Routing
Cheatsheet: dynamic routes, catch-all, route groups, parallel and intercepted routes.
Cheatsheet: dynamic routes, catch-all, route groups, parallel and intercepted routes.
Cheatsheet: every built-in hook with practical usage and gotchas.
Cheatsheet: tsconfig fields, strict family, moduleResolution, NodeNext, project refs.
Cheatsheet: X | None syntax, generics, Protocol, TypedDict, ParamSpec, type guards.
Cheatsheet: trace a request from socket to response through all four libraries.
Cheatsheet: complete list of alembic CLI commands with flags and common scenarios.
Cheatsheet: Field options, constraints (min/max/gt/le/pattern), defaults, default_factory, aliases.
Cheatsheet: JSONB column, containment, path access, GIN index, jsonb_set, ON CONFLICT updates.
Cheatsheet: DeclarativeBase, Mapped/mapped_column, type mappings, server_default, indexes, unique/check/FK, naming conventions.
Cheatsheet: BaseModel, Field, validators, custom errors, nested, discriminated unions, strict mode at the boundary.