title: Using the Spread Operator to Simplify Code
body: <p>I have a field like this:</p>
  
  <pre><code>   const updatedForm = Object.assign({}, this.state.form)
      updatedForm[name] = value;
  </code></pre>
  
  <p>Is there a way I can use the spread operator or ES6 to further simplify this?</p>