§00 · Front matter
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.
§01Index
Topics
- 01HTML8 entries · Nov 2025
- 02CSS13 entries · Mar 2026
- 03React19 entries · Dec 2025
- 04Next.js17 entries · Nov 2026
- 05Angular6 entries · Nov 2025
- 06Vue.js6 entries · Dec 2025
- 07TypeScript4 entries · Dec 2025
- 08AI Integration6 entries · Jul 2026
- 09Architecture2 entries · Dec 2025
- 10Web Platform5 entries · Nov 2026
§02Latest
New in the index
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 PlatformIntermediateNext.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.jsAdvancedJavaScript 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 PlatformIntermediateBuilding 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 IntegrationIntermediateCSS 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.
CSSIntermediateCSS 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
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.
JournalTypeScript 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.
JournalOn-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
§04Instruments
Tools on the bench
- JSON Formatter and ValidatorFormat, minify, and validate JSON with instant error feedback.
- CSS Gradient GeneratorCreate linear, radial, and conic gradients with live preview and copy-ready CSS.
- CSS Grid GeneratorBuild CSS Grid layouts with a live preview and copy-ready CSS, using px or rem gaps.
- JSON to TypeScript TypesTurn a JSON sample into TypeScript interfaces, with nested objects, arrays and quoted keys, then copy or download the .ts file.
- LLM Token EstimatorEstimate the token count of a prompt from its length, with characters, words and an input cost from a price you enter.
- CSP Header BuilderBuild a Content-Security-Policy string from a directive list, with header and meta output and warnings for unsafe values.