Working notes.
Longer-form notes on the tools and patterns I keep coming back to.
Longer-form notes on the tools and patterns I keep coming back to.
Longer-form notes on the tools and patterns I keep coming back to.
Published Jun 2026 · 2 min read
I've been using Neon as my primary PostgreSQL provider for the past year across several projects. It's not just "Postgres in the cloud" the branching model fundamentally changes how you approach database development.
Published Dec 2024 · 6 min read
Type safety is like insurance for your forms—it helps catch bugs in the UI and keeps bad data from reaching your backend. That’s why I pair Zod with React Hook Form: you get strong schemas, runtime validation, and TypeScript support all at once. Mistakes like missing "@" in emails or extra spaces get caught before they cause trouble. This setup also makes handling tricky validation, like checking if a username is unique, much easier. For example, with React Hook Form, you can add async validation that pings your server to see if a username is available:
Published Jun 2026 · 5 min read
E-commerce presents distinct technical challenges. Unlike blogs or SaaS dashboards, storefronts must provide consistently high performance for all users while managing thousands of SKUs, real-time inventory, and persistent shopping carts across devices (Design an E-Commerce Platform — Real-World Case Studies, 2025). Effective implementation increases conversion rates, whereas poor performance leads to customer attrition. Based on experience building multiple Next.js storefronts, the following patterns have proven effective.
Published Jul 2026 · 4 min read
Every number here came from this site. Most of what I tried did nothing; the two things that worked were not the two I expected, and neither of them was about JavaScript.
Published Jul 2026 · 3 min read
A ref in the dependency array and a route that commits before its content arrives. It passed every manual test and failed eight times out of eight under parallel load.
Published Aug 2026 · 6 min read
One typeface, two spacing units, one ornament and three content widths — plus the corrections the system needed along the way, including a contrast check that passed by 0.22 and why that was a coincidence rather than a margin.