title: Set multiple states in setState - React.js ES6
body: <p>How would I add the name const to the second setState method? In order to increment currentCompany I must include the prevState. When I attempt to add the name const it does not work. </p>
  
  <pre><code>const name = company.word;
  
  this.setState({ name });
  
  this.setState(prevState =&gt; ({
    currentCompany: (prevState.currentCompany + 1)
  }));
  </code></pre>
  
  <p>Thank you for your help :)</p>