
Mark Dalgleish Chats About Vanilla Extract
Chats with Kent C. Dodds
00:00
The Most Committing Reason to Use a CSS and JS Library?
It was just kind of hard to convince yourselves that it was worth the extra runtime and everything else when you didn't have a severe problem with CSS modules. The most compelling reason for me is this idea of having a unified language for everything. It means like I can write unit tests for my styling logic in a way that if I was using like SAS, I would struggle to do that. If you've been writing in your styles in JavaScript and TypeScript comes along, suddenly you're writing your styles in a type safe language,. And like your editor is telling you that you're getting your styles wrong when passing them around.
Play episode from 14:10
Transcript


