Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How I wish I could write React components (medium.com/rymohr)
7 points by rymohr on July 16, 2015 | hide | past | favorite | 4 comments


Anyone have a solution to coupling a react component's style without resorting to webpack and funky hacks?


Here are some solutions being suggested:

- http://reactcss.com/

- http://projects.formidablelabs.com/radium/


To add, radium has this nice comparison readme too: https://github.com/FormidableLabs/radium/blob/master/docs/co...


Thanks, I hadn't seen many of those before. This one is actually pretty close: https://github.com/RickWong/react-inline-css

react-styl (https://github.com/nick/react-styl) looks interesting too, but it looks like any preprocessing needs to be done on the client. I'd be worried about performance with that approach on a production app.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: