title: setTimeout in react setState
body: <pre><code>this.setState(prevState =&gt; ({
      score:            prevState.score + 10,
      rightAnswers:     prevState.rightAnswers + 1,
      currentQuestion:  setTimeout(() =&gt; {
        prevState.currentQuestion + 1
      }, 2000)
      }))
    }
  </code></pre>
  
  <p>On button click I change the state. My goal is to have a delay in currentQuestion state change, during which I want to show certain status messages, yet I want to update the score right away without delays.</p>
  
  <p>What's the proper way to do that?</p>
  
  <p>PS: This variant doesn't work, it's for the overall representation of what I want to do.</p>
  
  <p>Thanks.</p>