この記事はStyled Componentsの微細な好みに関するものであり、Styled Componentsで構成されたプロジェクトをリファクタリングすべき等の考えはありません。 Styled ComponentsはCSS in JSの先駆けとなり、この手のツールではトップクラスの人気である覚えがあります。ですが、実のところあまり濫用されて欲しくない気持ちを抱いています。 特記事項 CSSやReactの初学者向けではありません。 この記事は以下の是非を問うものではありません。 CSS in JS / Plain CSS CSSファイルを分離する / 分離しない テンプレートリテラル / Object Style CSSコードのスタイル はじめに Styled Componentsについて Styled Componentsというライブラリは、styled.div...のようなAPIを持つ