the pit of success

2021-05-31

 | 

~2 min read

 | 

265 words

I was reading a blog post recently when the author used the phrase, “the pit of success”. While I could deduce the intent, I was curious…

mocking redux with react-testing-library

2021-05-28

 | 

~3 min read

 | 

549 words

In a previous post about abstracting utilities in Jest, I demonstrated how to create a wrapper for the method of the React Testing Library…

javascript: getting to know formdata

2021-05-25

 | 

~2 min read

 | 

345 words

According to MDN: The FormData interface provides a way to easily construct a set of key/value pairs representing form fields and their…

reexporting: type declarations, library wrappers, oh my

2021-05-21

 | 

~2 min read

 | 

313 words

In refactoring some code recently, I moved the definitions of some times from one file to another. This broke a number of other files which…

linking libraries: react-redux

2021-05-20

 | 

~3 min read

 | 

426 words

I’ve written in the past about linking a library to an application where both use React and the problems that can ensue - specifically an…

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!