mycodedojo · est. 2020
Field notes from the code dojo.
Homelab, self-hosting, AI agents and full-stack craft. I'm Michael Cooper, a senior full-stack engineer who runs most of his stack on hardware in his own house. These are the notes I write while I train.
Featured note

React 19: The New APIs Worth Using Right Now
React 19 shipped the most significant API additions in years. Here is a practical tour of the ones that change how you write components day-to-day.
Fresh off the mat
Latest notes

TypeScript Generics: Write Functions That Work on Any Type
Generics let you write functions and types that stay fully typed without locking down a single concrete type — the practical alternative to any.
Green belt
Drizzle ORM: SQL-First Type Safety for TypeScript
Drizzle brings full TypeScript inference to your Postgres queries by writing the schema in TypeScript — no separate DSL, no code generator, just typed SQL that never drifts from your types.
Green belt
tRPC: End-to-End Type Safety Without a Schema
Share TypeScript types between your Next.js server and client without code generation, OpenAPI, or a separate schema file.
Green belt
TIL: `using` — TypeScript Built-in Resource Cleanup
TypeScript 5.2 added the `using` declaration — a finally block that writes itself.
Green belt
Tailwind CSS in React: Utility-First Styling That Actually Scales
Skip the stylesheet ping-pong. Tailwind puts your styles next to your markup, keeps bundles small, and makes responsive and dark-mode design mechanical rather than creative.
Green belt
TIL: AbortSignal.timeout() — Add Fetch Timeouts in One Line
AbortSignal.timeout(ms) replaces the manual AbortController + setTimeout + clearTimeout dance with a single call.
White belt