Hacker News new | ask | show | jobs
by throwaway290 168 days ago
Thanks. That's a JS-only thing then right?
1 comments

The style tag inside of a shadow DOM? No, it can be written declaratively in plain html markup.
if you need JS to actually use shadow dom then this sort of scoped styling is JS only