3 ms·
My sentiment exactly. The thing they show in "live demo" can be done using existing DOM APIs, with less code. Shadow DOM seems useful as far as isolation of st
by gambler 10y ago
My sentiment exactly. The thing they show in "live demo" can be done using existing DOM APIs, with less code.
Shadow DOM seems useful as far as isolation of styling is concerned, but it's really weird that it's not part of normal CSS spec. CSS in general needs some form of isolation. People resort to stuff like BEM to work around its absence.