title: Unexpected user of comma operator no-sequences
body: <p>I'm learning react and I'm trying to do a call back function to keep my states in sync. I've done the below code which does work and keeps it in sync but I get the </p>
  
  <blockquote>
    <p>warning "Unexpected user of comma operator no-sequences"</p>
  </blockquote>
  
  <pre><code>handleInputChange = (value) =&gt; {
      this.setState(prevState =&gt; ({ amount: prevState.amount = parseInt(value, 0) }, this.handleCalculation()));
  }
  </code></pre>
  
  <p>Any help would be great.
  Thanks</p>