3 ms·
You probably wrote tongue in cheek, but it's a good point. The fact that there are "JS land" and "CSS land" is one of the problems. There should be better inte
by Yaggo 6y ago
You probably wrote tongue in cheek, but it's a good point.
The fact that there are "JS land" and "CSS land" is one of the problems. There should be better integration between the two, eliminating the need for "hacks" such as replacing stylesheets by JS styling (popular with React, for example). Writing variable-based dynamic CSS is too hard. SASS and other variants don't solve the problem because they are compile-time, not runtime technologies.