title: How to debug ReactJS's setState
body: <p>I'm currently working on a medium sized reactJS application and get the following error message after I click a button on a component:</p>
  
  <pre><code>Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op.
  </code></pre>
  
  <p>How can I debug this more easily? Why doesn't reactJS give me a specific component name where this rule was violated?</p>
  
  <p>How would you do it?</p>