
A Private Vocabulary for Your Component’s State
Learn why the CustomStateSet API is the final piece of the encapsulation puzzle for developers tired of polluting their HTML with styling-only attributes.
Articles, guides, and thoughts on web development and technology

Learn why the CustomStateSet API is the final piece of the encapsulation puzzle for developers tired of polluting their HTML with styling-only attributes.

Why simple timestamps are a recipe for data corruption in collaborative apps and how I traded them for the mathematical certainty of version vectors.

Stop fighting the visual viewport and learn how to use the `overlaysContent` property to design mobile forms that actually stay visible when the keyboard appears.

Stop shipping massive localization bundles and start using the built-in Intl.NumberFormat API to handle everything from currency conversion to compact scientific notation.

A deep dive into the 'desiredSize' signal and why simply wrapping a data source in a ReadableStream isn't enough to prevent OOM errors.

Eliminate the 'Initializing JS/TS Language Service' lag by optimizing your type definitions for the compiler's hot path.

We’ve spent years using Intersection Observers and scroll hacks to detect when elements become 'stuck,' but a new CSS container query is about to make that logic obsolete.

An investigation into why TypeScript treats function parameters and return values with a conflicting set of logic.

Stop reaching for heavy JavaScript libraries just to animate a simple drawer; discover how the new native pseudo-element finally makes styling the details tag a breeze.

Even at high isolation levels, your database might be allowing subtle data inconsistencies that can only be prevented by understanding the underlying mechanics of write skew.