react-typescript-todomvc-2022
react-typescript-todomvc-2022 copied to clipboard
Styled-Components -> CSS Modules
"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.