Here's the rational: http://mrmrs.io/writing/2016/03/24/scalable-css/
Practical example: I have a form with a header. I look at it and think "there needs to be more space below the header". So I change
className="mt0"
to className="mt1"
It hot-reloads etc. It took me exactly two keystrokes to change this and I know that the spacing is consistent with all the other spacing in my app. style="margin-top: 1rem;"
to style="margin-top: 2rem;"
It's also two keystrokes, and is mathematically determined...2. the scale also has fractional rem values.
I'd rather change "f5" to "f6" for a smaller font than: "fontSize: 1rem" to "fontSize: 0.875rem".
3. the author of tachyons clearly understand design. If he improves his stylesheet, I benefit.
4. Apparently inline-styles are slower [0], but I don't count that since everything could be extracted.
[0] http://ctheu.com/2015/08/17/react-inline-styles-vs-css-stupi...
5. I thoroughly enjoy using it. :)
http://ctheu.com/2015/08/17/react-inline-styles-vs-css-stupi...
I use react inline styles in some situations where it's appropriate. on large tables or SVG (eg. with zillions of styled circles) there will be issues.
if you are sending HTML from a server with inline-styles then you will have much bigger problems with bandwidth.
This is where tachyon and basscss can provide a clean way for the day to day simple styling tasks like "needs more padding here" "make that title bigger there" without writing up stylesheets with repetitive margin, float, etc. for every single view in your app or every page on your website.
You can name your magic numbers/RGB values. You can move your shared behaviour into mixins. You can stop using float for god's sake - it's 2016, we have flexbox now (OK, so that's not related to preprocessors, but it's still true).
Sure, if it's a quick hack or something you're throwing together for personal reasons, use whatever mixture of inline-styles, "visually semantic" classes, and table layout goes fastest for you. But if the point is "scalability" (In the sense of size of team working together), then this halfway point between semantic classes and inline styles is definitely not the right way to achieve it.
Are public middle schools farther along the tech curve than "enterprise"?
(Legitimately curious. It'd be pretty funny if so.)
Though there's polyfills like flexibility out there, of course.
As I understand it, IE10 implements a different, somewhat incompatible version of the flexbox spec. You can see all the changes they made for 11 here: https://msdn.microsoft.com/library/dn265027(v=vs.85).aspx
I wonder, though, if there could be some workflow where you write and edit with tachyons, (babel-) analyze the code, find commonly used combination and prompt to name them.
EDIT: I also usually work with only two or three people, I guess it's different if there are 20 working on the css.
But especially in teams: don't you consider it extremely valuable that one can change the style of exactly one part somewhere in the page without affecting anything else?