Pure Styling of Components with TypeScript & CSS: Part 2 — Comparison to Styled-Components

CSS-in-JS is a popular approach to styling components within React apps. These libraries are much more sophisticated than simply inline styles. I chose one popular library, styled-components, to compare to the Subatomic CSS approach I detailed in my previous post. I look at the clarity of components, the amount of flexibility, and performance. HTML structure […]