Shadow DOM[0] is a big step in the right direction, as well.
I'm wondering what's the merit/advantages of using css-modules over using Shadow DOM to limit the scope of CSS rules.
In these cases you would fully encapsulate CSS, HTML, and JS on a per-component basis.