Person typing on laptop
Illustration thanks to Undraw

Hi. I'm Matt James, a front-end engineer, teacher and family man.

Getting Started With Container Queries

For as long as I’ve been working full-time on the front-end, I’ve heard about the promise of container queries and their potential to solve the majority of our responsive web design needs. And, for as long as I’ve been working on the front-end, there has been a running joke that we’d never actually get them coupled with a fair amount of anguish over their absence from our front-end toolbox.

— October 4, 2021

2020... amirite?

This year, as virtually everyone on the globe experienced, was a rough one. From a raging pandemic infecting and killing millions of people, handled inexcusably poorly by the federal government, to months of unrest over the continued killing of unarmed people of color at the hands of the police, to an interminable election cycle culminating in an ongoing attempted overthrow of our democracy, 2020 kept piling it on until the end. But, we've all lived that shared experience and while it is far more important than anything I'll write here, I'm going to share a wrap up of my personal year.

— December 28, 2020

A Little Thing I Learned About `sapper export`

I put this site together with Svelte and Sapper and am hosting it on Netlify. It's a glorious workflow. Write a post or make a new route, push to main and viola, instant deploys. The other day I decided to make a /uses page as I've enjoyed looking at other people's uses page. I stuck it in the routes folder of the src directory, saw it when developing but it kept not making it through the Netlify deploy. What was the deal? It turns out that the behavior of the sapper export command that Netlify was running on deploy was at fault. Let's take a look at this little quirk of that build command.

— September 26, 2020