Container queries changed how we write components
Components that respond to their slot, not the viewport, turned out simpler to test.
- Jul 18, 2026
- Engineering
- Featured, Long read, Opinion, Performance
- 2 min read
- 8 comments
Frontend architecture, CSS, and the build steps between a design and a deploy.
Components that respond to their slot, not the viewport, turned out simpler to test.
JSON in, CSS custom properties out, and a build step nobody has to babysit.
Utility layers, strict tokens, and a review habit that pruned dead rules.
When a flash of wrong content traced back to an undecided empty state.