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. 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
  2. Rust Web Frameworks Compared: Axum, Actix, Rocket and More

    Axum, Actix Web, Rocket, Poem, Salvo, Loco, Leptos and Dioxus, built and load tested side by side, plus how to use Rust on the web and where to host it.

    Journal
  3. WebMCP in Practice: Make Your Website Callable by AI Agents

    Let AI agents call your site's functions instead of clicking pixels. WebMCP's two APIs, Chrome's origin trial and the security rules, with type-checked code.

    Journal