Home

Latest post

A person being washed down a cascade waterfall

The perils of the cascade

Complex style resolution, global scope, and broken component boundaries: Why I don't trust the cascade and you shouldn't either

| 4 minutes

Still worth a read

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

    From CSS madness to CSS Hooks

    Why does styling a component involve so much machinery? A look at the tradeoffs we've accepted in pursuit of a simpler developer experience. Is there a better way?

    | 9 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

    | 12 minutes