4 ms·
Treat – Themeable, statically extracted CSS‑in‑JS with near‑zero runtime
- reimertz 6y agoIf you are interested in zero-runtime CSS-in-JS solutions and their pros and cons, read treats background documentation. It is truly amazing; https://seek-oss.github.io/treat/background https://seek-oss.github.io/treat/background
- colesantiago 6y agoI don't see the problem this is trying to solve. What happened to using just CSS and JS separately? This (and many 'CSS in JS' solutions like it) seems to me like premature optimisation.
- smt88 6y agoCSS is very disorganized and redundant. Whether it's SASS or something like this, it's massively more productive to have something that transpiles to CSS instead of writing CSS by hand. Your code is much, much more DRY.