CSS-IN-JS-Benchmarks
CSS-IN-JS-Benchmarks copied to clipboard
Questions and suggestions following the results
This is very helpful.
- However, I couldn't understand from the Readme file what React application (which we style with Css In Js) is the basis for the comparison.
- According to https://reactjs.org/docs/faq-styling.html#are-inline-styles-bad and also https://www.ctheu.com/2015/08/17/react-inline-styles-vs-css-stupid-benchmark/ CSS is more efficient than inline-Style. However, surprisingly, the results show contrary results: a. react (with inline-styles) is in the second row. b. styled-jsx-inline-styles - is third c. Glam Inline Style - also gets a high result. Is there any explanation for this somewhat unexpected results?
- Perhaps it would be helpful to add to the comparison table a column of the generated file size. This measurement dramatically effects the time it takes to the app to first load.