Appending a selected-state using JQuery in React component
<p>I'm trying to append an active state in a React JS component when it is clicked. </p>

<p>Lets say I have a function</p>

<pre><code>onMenuClick(e)
</code></pre>

<p>And my css class is called</p>

<pre><code>.hamburger
</code></pre>

<p>I want to check the condition:</p>

<pre><code>onMenuClick(e) {
  if (this.state.menuOpen){
  //append 'is-active' to the hamburger class    
  }
}
</code></pre>

<p>What is the most React-friendly/correct way to do this?</p>