Comment

Comment by 8n4vidtmkvmk

In my admittedly little experience with shadow DOM, it doesn't isolate as much as it claims. CSS variables pierce the boundary, so if your styles are built around that, you can still run into trouble.

I just haven't seen any benefit whatsoever once you have CSS modules. And CSS layers help too.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton