GitHub.com has fully moved off CSS-in-JS to CSS Modules, resulting in 55% less server-side render time and 25% faster component init. https://github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css/
Post
github.blogImproving site performance by shipping more CSSHow we fully migrated github.com away from CSS-in-JS.
Attaching styles to html elements. We don’t really have a good way to do that today. CSS modules are ok, but you still have to create two files just to make a button. Vue and Svelte are much better, but there isn’t an equivalent for React to my knowledge.
0 reposts4 likes