title: Clearing state es6 React
body: <p>I am trying to clear a components <code>state</code> but can't find a reference for the es6 syntax. I was using:</p>
  
  <p><code>this.replaceState(this.getInitialState());</code></p>
  
  <p>however this does not work with the es6 class syntax. </p>
  
  <p>How would I achieve the same result?</p>