News for hackers. Stuff that matters.
Re:Show HN: Nanostyled – a 1kB library for styling React com... by chrisfrank on Wednesday October 03, 2018 @05:39PM (#18135055)
Author here. This library aims to be a compromise between the expressive APIs of CSS-in-JS libraries like styled-components, and the extremely low overhead of plain CSS.

Would love feedback on, in particular, whether it seems like a useful compromise, or whether it fails to capture enough of what's good about either CSS-in-JS or plain CSS on their own.

Re:Show HN: Nanostyled – a 1kB library for styling React com... by ioddly on Wednesday October 03, 2018 @11:15PM (#18136877)
I was thinking about this recently. I've somehow avoided CSS-in-JS up to this point. I generally find functional CSS frameworks to be the most readable in that I like to be able to look at the classes and know essentially what's going on. I'm glad you made it and I'm bookmarking it for later.
Re:Show HN: Nanostyled – a 1kB library for styling React com... by chrisfrank on Thursday October 04, 2018 @10:56AM (#18140456)
Thanks! It's a tiny library and my team is using it in production, so I plan on maintaining it for a very long time.