title: React onClick setState then run function
body: <p>Good day!</p>
  
  <p>Is it possible to trigger multiple functions on the onClick event ?</p>
  
  <p>I would like when the user clicks on my button to setState and then run a function.
  I managed to update my state but I am not sure how to proceed to add the second step which would be to run my function called "goToOrderTemplate()"</p>
  
  <pre><code>&lt;button
    type="button"
    className="btn btn-primary"
    style={{ width: 250 }}
    onClick={() =&gt;
      this.setState({
        auth: this.passwordValidation()
      })
    }
  &gt;
  </code></pre>
  
  <p>Any help woul dbe greatly appreciated!</p>