Write CSS inside your JavaScript
smashingmagazine.com
smashingmagazine.com
I'm really surprised the author went through all the trouble of making this, considering that you can handle dynamic styling via inline styles in React.
class MyComponent {
render() {
return (
<div style={{color: this.state.color}}>
My Text
</div>
);
}
}