stringifying sets

2019-11-01

 | 

~1 min read

 | 

91 words

In Javascript, Sets are Objects with a few special attributes. Notably, they’re iterable collections of unique elements. One of the…

storybook keybindings

2019-10-31

 | 

~1 min read

 | 

113 words

Filing this under delightful surprises. I was working with today when I stumbled into a few keybindings that I didn’t know existed before…

postgres: how to query column labels for a table

2019-10-30

 | 

~1 min read

 | 

120 words

What if, instead of a table’s data, you wanted to see the table’s metadata? That is, instead of querying all of the rows within a table…

creating objects

2019-10-29

 | 

~3 min read

 | 

440 words

The other day I came across a pattern for creating objects I couldn’t quite understand. The code looked a little like this: My confusion was…

polymorphic presentations with styled-components

2019-10-28

 | 

~3 min read

 | 

520 words

Let’s say we’re building a simple web form with a twist: we want the submit to only appear if all of the fields are valid. In all other…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!