two types of people

2021-09-17

 | 

~2 min read

 | 

355 words

In her book, The Creative Habit: Learn It and Use It for Life, Twyla Tharp writes:1 Robert Benchley wrote that there are two kinds of…

miragejs: add latency to network requests

2021-09-16

 | 

~2 min read

 | 

214 words

I wanted to test how my application would react if one of my endpoints was really slow. While I could have modified the network settings in…

axios: handling timeouts

2021-09-16

 | 

~4 min read

 | 

641 words

It turns out there are some issues with how Axios handles time outs. In my case, the code was simply never firing, even when the request…

typescript: usereducer revisited

2021-09-16

 | 

~4 min read

 | 

673 words

Last time I wrote about using React’s with Typescript I ended up relying on Type Guards to get my actions typed and ended with an claim…

typescript: checking if a string is part of an enum

2021-09-15

 | 

~1 min read

 | 

181 words

Say you have an and you use that to make sure that the values you assign are within a predefined list. What happens when you receive that…

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!