News for hackers. Stuff that matters.
Re:Show HN: Smooth UI, a React UI Library for Humans by madeofpalk on Monday May 28, 2018 @04:34PM (#17174675)
If you can't understand what it's doing from the source code, maybe read the documentation?

I'm not a huge fan of Styled Components, but it's a way to write properly encapsulated styles for just that moment - You write 'regular CSS' that's scoped to exactly that component, so it can't leak out and affect other parts of your site.

Re:Show HN: Smooth UI, a React UI Library for Humans by hguhghuff on Monday May 28, 2018 @04:39PM (#17174707)
I read the source code because I was trying to see how a solved problem needed so much code to implement.
Re:Show HN: Smooth UI, a React UI Library for Humans by madeofpalk on Monday May 28, 2018 @04:50PM (#17174775)
I don't think Scoped CSS is a "solved problem".

Well actually, I think CSS Modules solved it in the most "perfect" way, but I'm willing to believe that others have problems I haven't experienced before :)