Styled-Components: CSS-in-JS Library for the Modern Web

2018-06-25 11 min read Uncategorized
This post was written by Jeremy Davis, JavaScript Developer for Toptal. CSS was designed for documents, what the “old web” was expected to contain. The emergence of preprocessors like Sass or Less shows that the community needs more than what CSS offers. With web apps getting more and more complex over time, CSS’ limitations have become increasingly visible and difficult to mitigate. Styled-components leverages the power of a complete programming language—JavaScript—and its scoping capabilities to help structure the code into components. Continue reading