Styled-Components allows you to write CSS directly inside your component
💅 Styled-Components in Action
Varayut Lerdkanlayanawat
8016

<style> element allows you to write styles wherever you want. You can always combine them later during build process with posthtml-collect-styles. Putting CSS in JS is not the only option to write styles next to your code without splitting them out to separate files. Look at Vue.js scoping approach as well.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.