Writing
Notes on frontend architecture and the trade-offs behind it — mostly things I worked out the hard way on production code.
Nepal is UTC+5:45, and it breaks timezone code
Most timezone code quietly assumes offsets come in whole hours. I live on one that doesn't, and building a working-hours chart for it meant finding the five places that assumption hides.
, 5 min read
My deploy said 'complete' and changed nothing
Wrangler infers the deployment branch from git. When your repo says master and Cloudflare Pages says main, a correct build publishes to a preview URL and reports success in green.
, 5 min read
The font optimisation I measured wrong
I thought self-hosting my fonts cut the payload by 65%. It cut it by zero bytes. The mistake was structural, the check I trusted couldn't fail, and the real reason to self-host survived anyway.
, 5 min read
The head tag that told Google my site was one page
Every URL on my site declared the home page as its canonical. Nothing looked broken in a browser. Here is how SvelteKit's head placeholder does that, and the one-line check that tells you whether yours does too.
, 4 min read
Frontend Architecture Patterns That Actually Scale
Island architecture, RSCs, partial hydration — the frontend landscape has shifted. Here's what actually works in production.
, 1 min read
Microfrontends: When They Make Sense (And When They Don't)
Microfrontends solve organizational problems, not technical ones. Here's how to know if your team actually needs them.
, 1 min read
Monorepo vs Polyrepo: A Practical Decision Framework
Forget the ideology. Here's a decision tree based on team size, deploy frequency, and shared code volume.
, 2 min read
The Signal Revolution: Fine-Grained Reactivity Everywhere
Svelte 5 runes, Solid signals, Angular signals, React compiler — every framework is converging on fine-grained reactivity.
, 2 min read