Blog

My thoughts about code, design, and other musings.

Email Signup Forms with Gatsby and Mailchimp

A simple tutorial, some sample code, and–you guessed it–a signup form.

July 24, 2019 • 4 min read

Getting Closure on React Hooks – @swyx

This fantastic talk from JSConf by Shawn Wang (known as @swyx) explains what's going on in the background with React Hooks. After watching…

July 22, 2019 • 1 min read

How to use S3 Select to Query JSON in Node.js

A simple example to get you started on querying JSON data out of S3 (with sample code!).

June 05, 2019 • 5 min read

Code IRL: Javascript Closures

A real world example of how to use Javascript closures to write better code.

May 01, 2019 • 4 min read

Three Simple Ways to Write Cleaner Code

Three practices you can start today that will make your code more readable now and easier to understand in the future.

April 23, 2019 • 2 min read

Configuring Jest and Enzyme in Create React App on Typescript

A guide to getting around an Enzyme internal error and get testing with Jest + Enzyme.

April 02, 2019 • 3 min read

The Value of Iterative Design

My six attempts to design "Sweet Honey" taught me that iterating on creative work can be difficult, but produces better results in the end.

March 13, 2019 • 6 min read

A Developer's Guide to the Open Graph Protocol

Learn about the protocol behind iMessage link previews, Twitter cards, and Facebook link previews.

February 12, 2019 • 7 min read

What I Learned from a Failed Startup

Four lessons I learned from working as an engineer for a startup that ran out of cash and went bankrupt.

January 29, 2019 • 5 min read

StaticQuery and Typescript

How to use Gatsby's StaticQuery while working in a Typescript environment.

November 29, 2018 • 4 min read

How to silence false SASS warnings in React

Typescript on React can sometimes think that your SASS is missing. Here’s the actual problem, and how to fix it.

November 27, 2018 • 2 min read

How to lint Typescript in a Gatsby project

Linting Typescript is simple to set up in Gatsby with the help of a plugin.

November 06, 2018 • 2 min read

How to quickly deploy a Gatsby site with Netlify

I recently started using Netlify to host my personal site, and now I don’t think I’ll go back. Here’s how to get started.

September 17, 2018 • 3 min read

How to make a static site with flexible content (using Gatsby & Contentful)

I recently redesigned my portfolio site with Gatsby, and Contentful as a headless CMS made it dead simple to manage content. Here’s how.

September 10, 2018 • 10 min read

How to make a super-fast static site with Gatsby, Typescript, and SASS

I recently redesigned my personal site with Gatsby. Here’s how to get started on your own.

September 05, 2018 • 5 min read

How to use Apple Font Tools to tweak a font

I used Apple’s font tools to fix the line-height of a font for an iOS app. Here’s how I did it.

June 19, 2018 • 3 min read