Post

I should probably write a longer post about this, but the 300 char limit version is: there are many great things about the cascade, but it is also the main reason why CSS is hard to scale.

Not really no. Scoping is nice in theory, but then you are either giving up SSR or duplicating a lot of style tags.

0 reposts1 like

CSS Module Scripts have been out in Chrome since v93, and Firefox has then under a flag. Pretty soon style sharing will be single-instance in memory, making custom elements even faster.