Skip to main content
???
Hip Musings

Where is my mind?

Typed mocks for Jest

Combining TypeScript with mocks can be made better using jest-when

4 May, 2021

Categories: dev, typescript, jest, mock

Shipping Web Workers Simply

Relieve the pain of shipping web workers by packaging them up as tagged template strings

2 May, 2021

Categories: dev, worker, tip

Decorate Storybook with MirageJS

Mocking HTTP requests from Storybook can allow for some powerful prototyping capabilities, and I've found MirageJS to be a brilliant tool in that regard.

13 Apr, 2021

Categories: dev, mirage, storybook

Using esbuild with 11ty

While looking to upgrade my site's asset pipeline, I ended up on esbuild as my solution with just a little bit of integration code.

30 Mar, 2021

Categories: dev, 11ty

Wrangle complexity with finite-state reducers

UI state can start out fairly simple, but quickly spiral out of control. How do you know when to reach for a more maintainable pattern?

23 Mar, 2021

Categories: dev, code, state machines, react

Archives