Writing
All Articles & Notes
Frontend Engineering

Double RAF + MutationObserver: Scroll Restoration After Micro-Frontend Redirects
Scroll restoration after a redirect isn't a scroll problem — it's a timing problem. State must survive the jump, the element must appear in the DOM, and it must be fully painted — in that order, at the right moment in the browser rendering pipeline.
2026.05 · dev.to

Your Page Doesn't Exist to Google — A Micro-Frontend SEO Post-mortem
Not low-ranking — completely invisible to Google. A micro-frontend SEO post-mortem and a four-layer diagnostic framework: link discovery, accessibility, content rendering, semantic understanding. Fix the wrong layer and nothing changes.
2026.05 · Juejin (CN)
AI

I Thought All 9 Token Styles Were Valid — Until I Changed the IA
Nine token profiles, one HTML structure — each presenting a completely different product personality. They all seemed valid, until I asked: what if this weren't a landing page? Move Playful into a data dashboard, drop AI Gradient into a payment flow — the wrongness is immediate.
2026.05 · dev.to

It's Not the UI You're Asking AI to Change — It's the Decision You've Never Made
The functionality works, but the interface is lacking. We get AI to optimize it, but after a dozen rounds of revisions, it just gets messier. This article documents my shift in understanding from "the prompt wasn't written well enough" to "there's no design system at all," and how design tokens transform this from something mystical into an actionable definition.
2026.05 · dev.to