3 ms·
> can use global style variables that are shared throughout your project, ... which you can just as easily do in React. It's JS after all, so you just use JS m
by lomnakkus 10y ago
> can use global style variables that are shared throughout your project,
... which you can just as easily do in React. It's JS after all, so you just use JS modules -- and I hasten to add that there are probably-better-than-plain-JS solutions out there[1].
[1] Here's one example: https://github.com/gajus/react-css-modules https://github.com/gajus/react-css-modules . (Dislaimer: haven't actually used this, I'm using scala.js)