← Back to all questions

John asks:May 10, 2022

What issues did you experience with Styled Components?

On this page, you mentioned having issues with styled-components, what were those issues specifically? https://bejamas.io/blog/case-study-avenues/

Currently looking into options for an enterprise client which currently uses sc and trying to learn more about it.

Thom Krupa

The main issue was with performance. JS size grows linear with Styled Components (or every similar CSS-in-JS solution). Currently, we recommend using a library with zero (or near-zero) runtime JS. For example Linaria, Astroturf, or something like Tailwind.

Answered by

Thom Krupa

Co-founder of Bejamas. Focuses on helping people create faster and better websites and apps. Never bet against the Web.

newsletter abstract background

Sign up for newsletter

Get the most interesting questions and answers in your mailbox