Hacker News new | ask | show | jobs
by fuzionmonkey 3665 days ago
This is very similar to https://github.com/Khan/aphrodite and https://github.com/rtsao/react-stylematic
2 comments

One of the biggest differences between ReactCSS and other solutions is that all of the style merging is done in the style object and not in the HTML. This keeps the markup clean and puts all style and style logic in one place.
<span className={css(styles.blue, styles.small)}>

vs

<span style={ styles.button }>