Welcome to the web blog
Bit pusher at Spotify. Previously Interactive News at the New York Times, U.S. Digital Service, and Code for America.
Auto-focus after adding a new row in an editable data table - April 11, 2024
In an editable data grid with an element for adding a new row, it’s nice to be able to auto-focus on the first column of the new row. Here’s one way to do it with @tanstack/react-table
.
Hamburger navigation with Phoenix Framework - September 10, 2023
Build a tiny little hamburger menu for mobile web with Elixir & Phoenix Components.
read more...Some mocking tricks with jest - July 6, 2020
Now that I’m writing a lot more JS, I end up confusing myself with Jest with some reguarlity. I enjoy using Jest a lot and think it’s a great test harness, though. These are some collected tricks.
read more...2019 and 2020 - January 2, 2020
I don’t write blogs anymore, I just write year-end reviews.
read more...2018 and 2019 - January 9, 2019
Look, it’s just like the post underneath this one!
read more...For older posts, check out the blog.
The Sprawl Trilogy - December 28, 2019
A Confederacy of Dunces - December 10, 2019
The Idiot - November 14, 2019
Sula - November 5, 2019
Play It as It Lays - October 21, 2019