react-typescript-todomvc-2022 icon indicating copy to clipboard operation
react-typescript-todomvc-2022 copied to clipboard

Styled-Components -> CSS Modules

Open ryota-murakami opened this issue 2 years ago • 0 comments

"React v18 Workgroup" and Twitter, especially Sebastian Markbåge's statements, have led me to conclude that the CSS-in-JS approach has only disadvantages and no merit to be adopted.

On the other hand, I thought that CSS-Modules, Tailwind CSS, and Plain CSS as a global style were the most likely candidates for incorporating old-fashioned statically generated CSS into modern development, so I went with CSS-Modules, which is the most versatile and can be used with Tailwind. I decided to migrate from the current Styled-Components to CSS-Modules.

ryota-murakami avatar Jun 25 '22 18:06 ryota-murakami