Notes

Working notes.

Short pieces on building for the web, Astro and TypeScript, and running small software businesses. Updated when I have something worth saying.

D By David Krug · building for the web since 2007

Why I rebuilt everything in Astro

I spent a decade fighting page weight. Astro is the first framework that made the fast version also the easy version. Here is what changed, what I kept, and the three things I would not do again.

Read the note

The islands architecture finally clicked

A clear write-up on shipping mostly static HTML and hydrating only the bits that move. This is the mental model I wish I had in 2019.

via a reader email

The fastest site ships the least JavaScript it can get away with

Shipping one task at a time

Work in progress is a tax you pay in confusion. I run a strict queue of one, for clients and for myself, and it is the single biggest reason things actually ship.

Read the note

The case for owning your code

Every retainer I run hands the client the repo, the keys, and the bill from day one. Vendor lock-in is a failure of nerve, not a business model.

Read the note
Older notes →