Getting started with TypeScript Generics
Generics are the feature that separates TypeScript you can maintain from TypeScript you rewrite. From the identity function through constrained generics and typed API responses.
Tutorials, mostly. Several of these exist twice, once as a post and once as a video, so they are listed once here with both. Everything is published on dev.to, Hashnode or YouTube and opens there.
Posts and videos, paired
Across six tutorials since 2020
Generics are the feature that separates TypeScript you can maintain from TypeScript you rewrite. From the identity function through constrained generics and typed API responses.
Setting up an ESM-compatible TypeScript project and wiring in the chatgpt-prompts library, the walkthrough for my most-starred repository.
VS Code Server in private preview, what it does, what GitHub auth and port forwarding mean for it, and how to self-host the whole thing on a home lab.
Compile a React application into a single Go binary that runs on any operating system, with an Echo API server alongside it. One file to ship.
Building a multi-browser extension with React using the Plasmo framework, the approach behind VRNBLTY, which shipped to the Chrome Web Store.
Spinning up AWS infrastructure in TypeScript instead of HCL, using the Terraform CDK.
A tour of RedwoodJS and how far it gets you before you have written much.
Written two months into my first engineering job, which is the only time you can honestly write it.
My second-most-read post, written long before I had to manage anyone.