Toggle css class in React
<p>How to toggle a presence of css class on element in React with boolean value? In Angular 2 I could just do <code>[class.red]="isRed"</code>. How to do familiar thing in React?</p>