TypeScript and React common patterns

How to type React components and hooks to make your life easier and your code more robust.

December 23, 2023

Let's build a Pub-Sub in TypeScript

In this article, we create a simple PubSub (or event emitter) from scratch in TypeScript, and make it as type-safe as possible.

May 14, 2023

How to build, test, and publish a TypeScript npm package in 2022

In this article, we will develop and publish an NPM package from scratch using TypeScript and Jest for testing.

October 29, 2022

Setting up Rails 7 for TypeScript and React

Rails 7 is released, and now we can use esbuild to compile both TypeScript and JSX and enjoy the almost magical compilation speed.

December 21, 2021