title: How to get rid of "must use restructuring props" assignment
body: <p>I am calling in the method in the following way:</p>
  
  <pre><code>componentDidMount() {
          this.props.updateFoo({a: false,b : false, c: false,d : true, e: true });
      }
  </code></pre>
  
  <p>And I get a warning "Must use destructuring props assignment".</p>