Skip to main content
Back

Our Blog

Explore our blog posts on web design, development, and digital marketing to stay up-to-date with the latest trends and strategies.

Found 112 blog posts

Why a Package Breaks in a CommonJS App: Field Notes on require(esm), the exports Map, and the Dual Package Hazard
Read Blog
Full-Stack Engineering
September 10, 2026

Why a Package Breaks in a CommonJS App: Field Notes on require(esm), the exports Map, and the Dual Package Hazard

We published a small ESM-only utility, and the first consumer to install it was a CommonJS service that threw ERR_REQUIRE_ESM on boot. These are our field notes on what require(esm) in Node.js 22.12 actually fixed, the exports condition order that quietly resolves to the wrong file, the dual package hazard that survives all of it, and the two CLIs we now run before every publish.

Read more
Why LLM Features Cost More Than They Should: Our Field Notes on Prompt Caching, Cache Breakpoints, and the Timestamp That Kills Every Hit
Read Blog
AI Engineering
September 8, 2026

Why LLM Features Cost More Than They Should: Our Field Notes on Prompt Caching, Cache Breakpoints, and the Timestamp That Kills Every Hit

The token bill for one of our agent loops kept climbing after we enabled prompt caching, and the usage payload explained why: every request was a cache write and none was a cache read. These are our field notes on where the cache breakpoint belongs, the prefix changes that silently invalidate it, and the arithmetic behind choosing a five-minute or a one-hour TTL.

Read more
Why TypeScript Typechecks Get Slow: Our Field Notes on tsgo, Project References, and isolatedDeclarations
Read Blog
Developer Tooling
September 7, 2026

Why TypeScript Typechecks Get Slow: Our Field Notes on tsgo, Project References, and isolatedDeclarations

When a typecheck stops being part of the inner loop, our first instinct is usually wrong: the repository has not grown too big, it has grown too generic. We share how we measure tsc with --extendedDiagnostics before tuning anything, how we evaluate the Go-based tsgo native port, and when project references and isolatedDeclarations are worth the migration.

Read more
How We Test LLM Features: Golden Sets, LLM-as-Judge, and Eval Gates in CI
Read Blog
AI Engineering
September 4, 2026

How We Test LLM Features: Golden Sets, LLM-as-Judge, and Eval Gates in CI

A prompt edit made for an unrelated reason started inventing order IDs, and every test in the repository still passed because nothing in CI was reading what the model said. These are our field notes on golden sets built from real production failures, deterministic checks before LLM-as-judge, and gating the build on pass-rate regression instead of a perfect score.

Read more
Why Your Next.js Client Bundle Is Bigger Than You Think: Barrel Files, optimizePackageImports, and the 'use client' Boundary
Read Blog
Frontend Engineering
September 3, 2026

Why Your Next.js Client Bundle Is Bigger Than You Think: Barrel Files, optimizePackageImports, and the 'use client' Boundary

One 'use client' directive pulls a file's entire import graph into the browser bundle, and a barrel index.ts re-exporting two hundred modules is how that graph grows unnoticed. These are our field notes on deep imports, experimental.optimizePackageImports, sideEffects, and reading the next build route table honestly.

Read more
Focus Management in the Next.js App Router: How We Handle the Route Change That Loses Focus, inert, and Native dialog
Read Blog
Frontend Engineering
September 1, 2026

Focus Management in the Next.js App Router: How We Handle the Route Change That Loses Focus, inert, and Native dialog

The Next.js App Router announces client-side route changes to screen readers but never moves keyboard focus. These are our field notes on the fifteen-line RouteFocus component we ship in every App Router project, when to reach for inert instead of aria-hidden, and why the native dialog element only traps focus when it is opened with showModal().

Read more
Zero-Downtime Postgres Migrations: Expand/Contract, lock_timeout, and the ALTER TABLE That Queues Behind One Slow Query
Read Blog
Backend Engineering
August 31, 2026

Zero-Downtime Postgres Migrations: Expand/Contract, lock_timeout, and the ALTER TABLE That Queues Behind One Slow Query

A Postgres migration rarely takes an app down because the DDL is slow. It happens because ALTER TABLE waits for a lock and every query behind it waits too. These are our team's field notes on lock queues, the expand/contract pattern, table-rewriting DDL, and batched backfills.

Read more
npm Supply-Chain Hardening in 2026: Lifecycle Scripts, minimumReleaseAge, and the Postinstall We Stopped Trusting
Read Blog
Security Engineering
August 30, 2026

npm Supply-Chain Hardening in 2026: Lifecycle Scripts, minimumReleaseAge, and the Postinstall We Stopped Trusting

npm lifecycle scripts execute arbitrary dependency code before an application ever starts. These are our team's field notes on disabling install scripts by default, adding a release-age cooldown so no freshly published version reaches a lockfile, and what npm provenance does and does not prove.

Read more
Multi-Tenant SaaS in the Next.js App Router: How We Handle Subdomain Middleware and the Cache Leak We Caught in Time
Read Blog
Full-Stack Engineering
August 29, 2026

Multi-Tenant SaaS in the Next.js App Router: How We Handle Subdomain Middleware and the Cache Leak We Caught in Time

We break down how we architect multi-tenant SaaS on the Next.js App Router: resolving tenants in middleware without a database hit per request, tenant-scoped caching, and the Postgres row-level security backstop that fails closed when application code forgets to scope a query.

Read more
Hybrid Search in Postgres with pgvector: Our Field Notes on HNSW, tsvector, and Reciprocal Rank Fusion
Read Blog
AI Engineering
August 25, 2026

Hybrid Search in Postgres with pgvector: Our Field Notes on HNSW, tsvector, and Reciprocal Rank Fusion

pgvector is a Postgres extension that adds vector column types and approximate-nearest-neighbour indexes. We shipped a RAG retrieval pipeline on it, watched it miss exact error codes and SKUs, and fixed it by fusing vector similarity with Postgres full-text search using Reciprocal Rank Fusion. These are our notes on HNSW versus IVFFlat, the 2000-dimension index limit, and the WHERE clause that returned fewer rows than the LIMIT asked for.

Read more
Web Workers in the Next.js App Router: Our Field Notes on import.meta.url, DataCloneError, and What a Worker Cannot Fix
Read Blog
Performance
August 24, 2026

Web Workers in the Next.js App Router: Our Field Notes on import.meta.url, DataCloneError, and What a Worker Cannot Fix

A Web Worker is a background JavaScript thread with no DOM access. We moved CSV parsing, image resizing, and a search index off the main thread in a Next.js App Router app — here is why a hoisted new URL() returns 404 in production, why class instances arrive without methods, and why React StrictMode left our team with two workers.

Read more
Turborepo in a Real Monorepo: Field Notes on Cache Misses, NEXT_PUBLIC Poisoning, and the tasks Key That Replaced pipeline
Read Blog
Developer Tooling
August 23, 2026

Turborepo in a Real Monorepo: Field Notes on Cache Misses, NEXT_PUBLIC Poisoning, and the tasks Key That Replaced pipeline

Turborepo is a task runner that hashes each script's inputs and replays cached outputs instead of re-running the work. We moved a two-app monorepo onto Turborepo 2 — here is why the cache never hit, why a cache hit once shipped staging URLs to production, and why --affected silently builds everything on a shallow CI clone.

Read more

Stay Updated

Subscribe to our newsletter for the latest insights on web design, development, and digital marketing.