I occasionally write things down to share and distill learnings.

Addressing Client/Server Compatibility in tRPC

July 12, 2023 • 5 minute read

One of the main selling points of tRPC is "End-to-end typesafe APIs made easy", but this doesn't hold if you are not mindful about keeping your client/server versions in sync.

Beyond Bug-Squashing

April 30, 2021 • 4 minute read

My mental model for fixing bugs boils down to a 4 step process with a strong focus on improving safety nets.

Guidelines for Better Pull Requests

August 12, 2020 • 4 minute read

7 tips and tricks for better pull requests to improve the feedback you get on your work and elevate the overall quality of the code and product.

Migrating from Flow to TypeScript using flow-to-ts

February 09, 2020 • 5 minute read

Over the last couple of years, I have been migrating several codebases from Flow to TypeScript with minimal effort. In this post, I will describe my motivation and the approach I would recommend.

Software Engineering Principles

January 13, 2020 • 5 minute read

A list of the high-level principles and beliefs that I operate by when building software. Lots of links and references.

Converting an app to React Native — How to get started

April 13, 2018 • 9 minute read

Tips and tricks on tooling, navigation, and libraries when getting into React Native development. Especially relevant for native mobile developers approaching React Native.

Type safe CSS Modules with Flow

June 21, 2017 • 3 minute read

CSS Modules + Flow = type safety and editor autocompletion. Introducing a few open source projects to help you with type safety and editor autocompletion.

React PropTypes to Flow codemod

April 11, 2017 • 3 minute read

I’m presenting how to automatically convert your existing codebase using React PropTypes to use more powerful Flow annotations.

Abandoning the mothership

December 16, 2015 • 7 minute read

It was time to pour into our front-end code the same poison we gave our back-end systems, splitting it all apart into maintainable chunks. Our vision was to make each feature team at issuu.com own, build and deploy its front-end code autonomously—and to make things that ought to be trivial actually trivial!