How I wish I could write React components(medium.com)
medium.com
How I wish I could write React components
https://medium.com/@rymohr/how-i-wish-i-could-write-react-components-c08d63e2cfbb
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/
- 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.
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.