4 ms·
Hey, you put CSS in my JavaScript! Surely this could be done in a smarter way, using one of the many CSS preprocessors to replace the variable mapping done by
by rcgs 11y ago
Hey, you put CSS in my JavaScript!
Surely this could be done in a smarter way, using one of the many CSS preprocessors to replace the variable mapping done by `classes()`?
After all, the `render()` template just needs to reference variables!
- brunolazzaro 11y agoI think you might want to try https://github.com/css-modules/css-modules https://github.com/css-modules/css-modules