Hacker News new | ask | show | jobs
by rcgs 3997 days 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!

1 comments

I think you might want to try https://github.com/css-modules/css-modules