1. 4

The accompanying write up on the LinkedIn Engineering blog: https://engineering.linkedin.com/blog/2018/04/css-at-scale--linkedins-new-open-source-projects-take-on-stylesh

  1.  

  2. 2

    The OptiCSS part of CSS Blocks, a sub-library that compiles stylesheets for peformance, seems to do the same thing as the existing library Styletron. Styletron does the same splitting of rules into a rule for each set of styles that is shared across elements, followed by giving multiple classes to elements that assemble all subsets of rules they need. Styletron’s introductory blog post explains more about the concept.

    1. 1

      Needs more docs which describe how to adapt it to other source code layouts. The handlebars example is a good start. Exciting claims, though! I want to hear more details about the algorithm before I try it.

      1. 3

        There’s a bit more info on the blog post on LinkedIn. Probably should have linked to that instead. Going to update the entry with this link as well