3 ms·
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.
by ChemicalScum 10y 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.
- santialbo 10y agoAngular2 is doing a similar thing.
- toddmorey 10y agoAlways one of my favorite features of riotjs
- ergo14 10y agoWeb 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.