title: REACT, Help me understand prevState
body: <p>What is the difference between defining this counterHandler like this</p>
  <pre><code>counterHandler = () =&gt; {
          this.setState(() =&gt; {
              return { times: this.state.times + 1 }
          });
      }
  </code></pre>
  <p>And this?</p>
  <pre><code> counterHandler = () =&gt; {
              this.setState((prevState) =&gt; {
                  return { times: prevState.times + 1 }
              });
          }
  </code></pre>
  <p>Does the state from a component always gets passed to setState automatically?</p>