Modular CSS with React
Philippe Masset
3.2K27

This is just the article I needed for when folks ask me to layout the pros and cons of each, thanks!

For variables in css-modules, check out https://github.com/css-modules/postcss-modules-values. I’ve been using it for a few months and think it solves all the clunkyness of passing around variables.

I think another good comparison point might be server side rendering and load times, since lots of inline CSS could delay the media queries and look a little jumpy on large pages when they kick in.