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

WebSockets with Node.js and React: Real-Time Without Polling
Build a WebSocket server with Node.js and the ws package, then consume it from React using a reusable custom hook — no polling, no long-polling, just a persistent bidirectional connection.
Green belt
TIL: Error.cause — Chain Errors Without Losing Context
ES2022 lets errors carry a cause so the original exception is never silently swallowed.
Yellow belt
Bun: One Tool for Running, Testing, and Bundling JavaScript
Bun is a fast all-in-one JavaScript toolkit — runtime, package manager, bundler, and test runner in a single binary.
Green belt
TIL: URL.canParse() — Validate URLs Without try/catch
URL.canParse() returns true or false for a URL string — no more wrapping new URL() in a try/catch just to check if the input is valid.
Yellow belt
React Native with Expo: Build Mobile Apps With Your React Skills
Expo turns your React knowledge into real iOS and Android apps. Here is a practical intro — core components, StyleSheet, Expo Router navigation, and how to run on a real device in minutes.
Green belt
Nginx as a Reverse Proxy with Docker: Route All Your Services Through One Port
Run multiple Docker containers on a single server and expose them all on port 443 with subdomain routing, Let's Encrypt SSL, and clean nginx config.
Green belt