Hacker News new | ask | show | jobs
by ChemicalScum 3485 days ago
I like how they solved scoped css. Looks way more elegant than most css-in-js solutions I've seen. I could give it a shot for this reason alone.
3 comments

Always one of my favorite features of riotjs
Web components and polymer solve this problem "completly" by full encapsulation.

With some css preprocessing + vulcanizing you can even use separate js/css files from your component templates if that is your thing - they can get inlined in the build process.

Angular2 is doing a similar thing.