writing

The browser rendering pipeline, from bytes to pixels3 days ago

A complete walkthrough of how a browser turns raw HTML and CSS into pixels — covering parsing, style resolution, layout, paint, compositing, and where your JavaScript fits in between.

How React's reconciler actually works12 days ago

A deep dive into React's Fiber architecture — how it replaced the stack reconciler, what a fiber node actually is, and how the work loop drives rendering under the hood.

Debugging a bug that only reproduced in production4 months ago

A map component worked perfectly in local dev but failed silently in production. Here's the full trail — from symptom to root cause to fix.

What I learned building Zustand from scratch5 months ago

I tried to rebuild Zustand's core from first principles to understand how it actually works. The implementation is tiny. The ideas behind it are not.

I wrote a compiler in C. here's what it taught me12 months ago

I spent a few weekends writing a small compiler in C — from lexer to bytecode emitter. No frameworks, no LLVM, just C and a lot of humbling moments.

V8 hidden classes, inline caches, and writing engine-friendly JSabout 1 year ago

How V8 optimizes your JavaScript through hidden classes and inline caches — and how unintentional patterns in everyday code silently kill those optimizations.

Why React re-renders and how to stop the unnecessary onesover 1 year ago

Understanding React re-renders is key to building efficient applications. Learn why React re-renders and how you can optimize performance by avoiding unnecessary re-renders.

useMemo and useCallback, demystifiedalmost 2 years ago

Learn how to use useMemo and useCallback in React to optimize performance.

Passkeys: what they are and why they matterabout 2 years ago

Passkeys are the next evolution of login credentials. They are more secure, easier to use, and more private than passwords.