Archive
Writing
Articles on JavaScript, TypeScript, and the runtimes, frameworks and tooling underneath them.
- Articles
- 15
- Sections
- 5
- Latest
- №005
The TypeScript type systemType-Level Narrowing: How TypeScript Decides What You Meant
Control flow analysis is a graph walk over your code. Knowing what widens a type again explains most of the errors that look wrong.
- №004
Async machineryThe Event Loop You Think You Know
Microtasks, rendering opportunities and starvation — what the loop actually does between your callbacks, in the browser and in Node.
- №003
The build pipelineWhat Actually Happens When Vite Serves a Module
A walk through one request to a Vite dev server: resolution, the transform pipeline, import rewriting, pre-bundling, and why production differs.
- №002
ReactivitySignals Are Not Magic: The Dependency Graph Underneath
Every signals library is the same forty lines of bookkeeping. Here is what those lines do, and where the four popular implementations diverge.
- №001
The V8 object modelHow V8 Decides to Optimize Your Function
Two functions that look identical can run at very different speeds. The difference is usually shapes, inline caches, and a deoptimization you never saw.