Design Systems with React & Storybook CSS in JS
Transcript from the "CSS in JS" Lesson
>> But while this is a better solution, and while this does allow for scoping, we have a new solution which is CSS and JS. This is something a little controversial but this really, really scope styling to the components themselves. Everything is encapsulated in one document. So as opposed to having separate SASS files that are transpiled into CSS code.
[00:00:40] It's also a great choice, but we're gonna be using styled components.