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.
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.