Articles for people who
ship the stack
Original rewrites on React, Node.js, TypeScript and AI — practical notes from the same engineering practice behind our operator software. Article bodies are in English.
Tagged: Refactoring
Agentic Refactoring of a Vibe-Coded App: Making the Architecture Visible Again
How a 27k-line vibe-coded C# and TypeScript app was untangled with agents: contracts first, a black-box test API, domain types, and a coder and reviewer agent team.
6 min readReviewing Large AI Refactors: Why Passing Tests Miss Deleted Intent
Learn why AI-assisted refactors silently remove load-bearing code, why green tests do not catch it, and five review practices that make large refactors safe to ship.
7 min readReadable JavaScript by Example: Ten Before-and-After Refactors
Ten small JavaScript and React refactors, from naming and parameter objects to error handling and formatting, that make code easier for the next developer to read and change.
7 min readDecomposing Oversized React Components Without Production Regressions
A step-by-step approach to breaking up large React components safely: mapping responsibilities, extracting pure logic, owning state, and shipping in small steps.
17 min readAuditing utils.js: Six Built-ins That Replace Hand-Rolled Helpers
See which native JavaScript APIs can replace deep-clone hacks, defensive copies, manual timeouts, deferred promises and lodash groupBy, and what caveats apply.
5 min readSeven Review Warning Signs That Predict Expensive Future Changes
Learn to spot seven code smells experienced reviewers flag early, from boolean mode flags to swallowed errors, and how to judge when each one is a real problem.
13 min readSoftware Archaeology: A Practical Method for Reading Legacy Code
Learn a step-by-step approach for safely investigating undocumented legacy codebases, from mining commit history to refactoring without breaking production.
8 min readWhen AI Writes Your React App But Skips Clean Code Principles
AI-written React apps often skip clean code principles. Seven habits to restore: DRY, single responsibility, guard clauses and four more, with real fixes.
11 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.