title: Get react state with dynamic key
body: <p>I already know how to setState with a dynamic key name but how do I set a value as the state with a dynamic key?</p>
  
  <p>Example </p>
  
  <pre><code>function thing(key) {
   let stuff = this.state.key;
  
   //Do stuff
  }
  </code></pre>