This is basically jQuery for CSS. You need to manually update the stylesheet in response to events, instead of changing the state and having the virtual DOM do the work for you.<p>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.<p><pre><code> class MyComponent {
render() {
return (
<div style={{color: this.state.color}}>
My Text
</div>
);
}
}</code></pre>