News for hackers. Stuff that matters.
Re:Have you used styled components and what do you think abo... by stockkid on Tuesday October 01, 2019 @08:37AM (#21124634)
I do not think that it provides much more value than other simpler solutions already do. I might be wrong, so please correct me, but the main problem styled-component solves is already solved by css-module. In this light, styled-component seems an unnecessary abstraction and a whole new set of APIs to learn for no tangible benefit.
Re:Have you used styled components and what do you think abo... by botvader on Wednesday October 02, 2019 @11:33AM (#21137554)
can't provide props aka the theming options in `css-modules`. I think, `styled-components` seems like an extension to css-module.