jameskerr.blog

GitHub Mastodon RSS X YouTube
James Kerr's Profile Picture

Hello and Welcome!

I am James Kerr. I live in San Francisco writing software and pondering our collective existence.

I am building simple budget software called Tend.

I am the author of a few JavaScript packages, the most popular being react-arborist.

Here on my blog you'll find prose and poetry on topics such as:

#javascript #money #react #addiction #ruby #god #ci #parenting

February 13, 2025

SuperDB Website Build Review

hugo

My work designing and developing the superdb.org website is finished. The first commit was on October 4th, 2024 and the final commit was on February 5th, 2025.
Read More

August 15, 2024

useStateObject: A Simple, Convenient API Around useState

react

I am loving this API for working with React state. It’s a very light wrapper around useState. I call it useStateObject.
Read More

July 1, 2024

The 3 Types of CSS Utility Classes

css html

A 9.0 earthquake shook my front-end world when I discovered “layout primitives” at every-layout.dev. Then an aftershock rolled through when I learned about fluid sizing and spacing tokens from utopia.
Read More

June 26, 2024

Ship That Code • Publish That Post

programming writing

Two articles I read this week have inspired the heck out of me. The first was by Jared Turner of thoughtbot with the punchy title “WIP is waste”.
Read More

June 13, 2024

How to Debug NodeJS with Breakpoints in VSCode

javascript

I made a quick screen recording using the VSCode debugger to break on a line of code in my NodeJS electron process.
Read More

June 2, 2024

The One Thing Missing in Every Budget App: Spending Commitments

money

The one thing missing in every budgeting application is the “Spending Commitment”. Definition: “A thing I am already committed to paying for”
Read More

April 23, 2024

Fix for Kamal Deploy Assets Not Updating

ci rails kamal

Does this sound like you? You are using Sprockets to pre-compile assets for production. You are using Kamal to deploy. You have asset bridging enabled in your deploy.
Read More

April 22, 2024

How to Set Output Values in Github Actions

ci github

This is the syntax for setting an output parameter in a Github Actions step. echo "{name}={value}" >> "$GITHUB_OUTPUT" Here’s an example of using this syntax in a workflow step.
Read More

April 17, 2024

Responsive Sizing for React Arborist Tree Component

javascript react react-arborist

Many people ask me about how to dynamically set the width and height of the Tree component based on its parent using react-arborist.
Read More

April 16, 2024

Cache the Result of a JavaScript Getter Method

javascript

My first programming language was Ruby. Well, it was actually Microsoft Excel, then VBA, then C# for a university class, then Ruby.
Read More

  • jameskerr.blog
  • GitHub
  • Mastodon
  • RSS
  • X
  • YouTube