All notes

Text note

  • CSS
  • Layout

Container queries finally killed my breakpoint soup

Eleven media queries for one component, and not one of them knew how wide the component actually was. Three container queries later the file is shorter than the comment that used to explain it.

Graphic note

  • Conference

Slides from the container queries talk

Forty minutes, no framework, everything live in devtools. The demo broke once, and that turned out to be the part people asked about afterwards.

Text note

  • Debugging

The bug was a stale service worker

Two hours spent on a cache header that had been correct the whole time. The fix was one line in the update flow, plus a note to check Application before Network.

Text note

  • Accessibility

Focus rings are not decoration

Removing one outline made the checkout flow unusable without a mouse. Focus-visible already hides the ring from people who click, so there is nothing left to gain by taking it away.

Graphic note

  • Tooling

Build times, before and after

Forty seconds down to four. Most of it was one barrel file quietly re-exporting the entire icon set into every route.