Skip to main content

Writing & Insights

Thoughts on frontend architecture, design systems, and engineering leadership. Documenting the intersection of structural integrity and user experience.

Engineering

We evaluated WebSocket, WebRTC, and SSE for a browser voice assistant. Here's the full breakdown — the tradeoffs, the architecture, and the protocol that maps cleanest to the problem.

9 min readRead article
Engineering7 min read

Image Optimization: Unpic (Frontend), Sharp (Backend)

How this portfolio resizes images, serves WebP/AVIF, and builds responsive srcset URLs — with @unpic/react on the client, a TanStack Start /api/images route, and sharp on the server.

Read article
Engineering3 min read

Teaching AI Assistants How Your Team Writes Code

A full walkthrough of AI skills and rules — what they are, how to create them, what good content looks like, and how to verify the assistant actually follows them.

Read article
Frontend9 min read

Design Tokens: Name Colors by Purpose, Not by Hex

A three-layer token pipeline — CSS variables, Tailwind utilities, component variants — explained with real examples from light/dark themes to button styling.

Read article
Engineering9 min read

Getting a Database Running on Your Machine

PostgreSQL, Docker, and Prisma from zero — schema models, SQL migrations, seed scripts, and a typed client, explained as a connected pipeline.

Read article
Engineering10 min read

How a Web App Loads Data Safely

The full client-server data pipeline — server functions, query configs, route loaders, SSR hydration, and mutations — explained step by step with real code.

Read article
DevOps9 min read

From Git Push to Live Website

CI, Docker, and cloud deployment as a three-station pipeline — with real Dockerfile, startup script, and GitHub Actions examples.

Read article
Engineering6 min read

Functional Programming Patterns in TypeScript

Explore how functional programming concepts like immutability, pattern matching, and composition can improve the predictability and safety of your TypeScript applications.

Read article
Engineering7 min read

The Commands You Run Every Day

What package.json scripts are, how to add your own, and a grouped reference of the commands that power dev, database, testing, and production workflows.

Read article
Frontend8 min read

One Codebase, Multiple Brands

White-labeling explained — build-time brand switching with env vars, Vite aliases, token files, and a checklist for adding a new brand.

Read article
Frontend9 min read

Dark Mode That Does Not Flash or Break

SSR, hydration, and FOUC explained — then the cookie + inline-script + server-function pattern that keeps dark mode in sync from first paint.

Read article
Frontend8 min read

Building Accessible Dialogs From Scratch

A deep dive into WCAG AA criteria for modal dialogs, including focus trapping, keyboard navigation, and aria attributes using vanilla TypeScript.

Read article
Frontend10 min read

Storybook: A Living Style Guide for Your UI

Install, run, write stories, add interaction tests, and build a shareable static site — a complete Storybook tutorial with real component examples.

Read article
Engineering9 min read

Two Kinds of Tests for a Modern Frontend

Set up Vitest and Storybook testing from scratch — config, first unit test, coverage, interaction tests, and how to pick the right layer.

Read article
Frontend10 min read

SEO Basics for Server-Rendered Apps

Meta tags, Open Graph, JSON-LD, sitemaps, and robots.txt — a complete SEO walkthrough for server-rendered React apps with real head-builder code.

Read article