--

I don't disagree that loading CSS via JS is a terrible rendering strategy, but I was specifically referring to the bloat of having separate, duplicated CSS for every component.

That affects build-time CSS-in-JS and BEM; utility classes (via Tailwind) are going to effectively reduce the CSS size significantly in both cases.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

Responses (1)