Home

Latest post

A person being washed down a cascade waterfall

The perils of the cascade

The cascade in CSS adds extra layers of unpredictability and creates unnecessary cognitive overhead. Inline styles offer a simpler, more reliable styling approach.

| 6 minutes

Still worth a read

  • A 19th-century inventor standing next to a Rube Goldberg machine

    From CSS madness to CSS Hooks

    The limited capabilities of inline styles have frustrated web developers for decades, forcing us to choose between unmaintainable architecture and complex workarounds. CSS Variables offer a solution.

    | 7 minutes
  • A chalk drawing of a Lego brick

    Function asChild

    The pitfalls of polymorphic components, and how I use a time-tested React design pattern to overcome them

    | 15 minutes