Skip to main content

LearnWebCraft · Field notes for frontend engineers

Frontend engineering, written down properly.

Tutorials and notes on React, Next.js, TypeScript and CSS: what we tried, what broke, and the patterns that held up in production.

BROWSEREDGESERVER COMPONENTDATABASEstream~40mscache: hitfig. A.1 request path

§01Index

Topics

  1. 01HTML8 entries · Nov 2025
  2. 02CSS13 entries · Mar 2026
  3. 03React19 entries · Dec 2025
  4. 04Next.js17 entries · Nov 2026
  5. 05Angular6 entries · Nov 2025
  6. 06Vue.js6 entries · Dec 2025
  7. 07TypeScript4 entries · Dec 2025
  8. 08AI6 entries · Jul 2026
  9. 09Architecture2 entries · Dec 2025
  10. 10Web Platform5 entries · Nov 2026
  11. 11Rust15 entries · Dec 2026

§03Latest

New in the index

  1. Axum Authentication, Validation and Security Basics

    Part 13 of Rust for web developers: add users to an Axum API with Argon2 password hashing, session tokens, the validator crate, body limits and CORS.

    RustBeginner
  2. Deploy an Axum App with Docker: Builds, Shutdown, Hosting

    Part 15 of Rust for web developers: ship an Axum and PostgreSQL API with a multi-stage Dockerfile, Docker Compose, graceful shutdown and a hosting plan.

    RustBeginner
  3. Your First Axum Server: Routes, JSON and Extractors

    Part 10 of Rust for web developers: build a JSON API with Axum 0.8. Routes, path and query parameters, JSON with serde, status codes and handler errors.

    RustBeginner
  4. Axum with SQLx and PostgreSQL: A Real Database

    Part 12 of Rust for web developers: store data in PostgreSQL with SQLx. Migrations, a connection pool, compile-time checked queries and database errors.

    RustBeginner
  5. Axum State, Middleware and JSON Error Responses

    Part 11 of Rust for web developers: shared state in Axum, tower-http middleware for logging, compression and timeouts, and one AppError type for JSON errors.

    RustBeginner
  6. Testing an Axum API: Unit, Integration and Database Tests

    Part 14 of Rust for web developers: test an Axum API with cargo test, call the router directly with tower's oneshot, and give each test its own database.

    RustBeginner

§04Journal

From the journal

  1. Build a Claude Code MCP Server in TypeScript

    Build an MCP server for Claude Code with the v2 TypeScript SDK: tools with Zod schemas, a resource, a prompt, stdio, claude mcp add and a real headless test.

    Journal
  2. Build a Wrapped-style year in review with modern CSS

    Build your own Wrapped-style year in review with scroll snap, scroll-driven animations, @property counters, View Transitions and a canvas share image.

    Journal
  3. OpenCode vs Claude Code: I Ran Both on the Same 4 Tasks

    OpenCode and Claude Code on the same four TypeScript tasks, graded by hidden tests. Pass rates, speed, tokens, cost and free-model privacy, measured.

    Journal