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. 08AI Integration6 entries · Jul 2026
  9. 09Architecture2 entries · Dec 2025
  10. 10Web Platform5 entries · Nov 2026

§02Latest

New in the index

  1. JavaScript using Keyword: Explicit Resource Management Guide

    Build a CSV-to-SQLite importer in Node 24 with using, await using and DisposableStack. Error rules, TypeScript setup and gotchas, every output run and checked.

    Web PlatformIntermediate
  2. Next.js 16 Cache Components, Hands On: Build a Bookshop, Then Debug Someone Else's

    An interactive, advanced Next.js 16 tutorial. Turn an uncached bookshop into a partially prerendered one with 'use cache', cacheLife, cacheTag, updateTag and Suspense, then fix four production bugs in an interview-style exercise.

    Next.jsAdvanced
  3. JavaScript Temporal API Tutorial: Fix Your Date Bugs by Building a Time-Zone-Aware Scheduler

    A hands-on Temporal tutorial. Build a meetup scheduler that survives daylight saving time, shows times in every viewer's zone, bills on the 31st without drifting, and catches impossible times in user input. Every output in this guide was run and checked.

    Web PlatformIntermediate
  4. Building Local AI Agents with Next.js 16, Ollama, and Vercel AI SDK

    Learn how to build zero-latency, privacy-first local AI agents in Next.js 16 using Ollama, tool calling, and React Server Components.

    AI IntegrationIntermediate
  5. CSS Corner Properties: border-radius, corner-shape, and Superellipse

    A practical guide to modern CSS corner styling using border-radius and corner-shape, including production patterns, caveats, and progressive enhancement.

    CSSIntermediate
  6. CSS Anchor Positioning API: A Complete Guide

    Master the CSS Anchor Positioning API to build context-aware UIs like tooltips and menus without JavaScript. A deep dive into modern declarative positioning.

    CSSIntermediate

§03Journal

From the journal

  1. 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
  2. TypeScript 7 in Practice: What the Go Compiler Changes, and What It Breaks

    TypeScript 7 moved the compiler to Go and type-checks about 10x faster. I ran it on this site's own codebase, broke an old tsconfig on purpose, and found the parts of the toolchain that aren't ready yet. Real numbers, real error messages, and a migration order that works.

    Journal
  3. On-Device AI in the Browser: A Practical Guide to Chrome's Built-in AI APIs

    Summarize, translate and prompt a model that runs on the user's device, with no API key and no per-token bill. A hands-on guide to Chrome's Summarizer, Language Detector, Translator and Prompt APIs, with progressive enhancement and a server fallback.

    Journal