title: react redux update state from loop in nested array
body: <p>I have a state like :</p>
  
  <pre><code>data: Object
    value: []
  </code></pre>
  
  <p>and I have some return value like:</p>
  
  <pre><code>{'name': 'myname'}
  {'gender': 'male'}
  </code></pre>
  
  <p>Here I want to update each value simoltaneously calling dispatch:</p>
  
  <p>When I call <code>dispatch({data}, type: ADD_DATA})</code> where data are each values in loop. I want the result like:</p>
  
  <pre><code>data: Object
      value: [{
           'type': 'personal',
          'info':[
            {'name': 'myname'},
            {'gender': 'male'}
          ]
      }]
  </code></pre>
  
  <p>I am stuck at here :</p>
  
  <pre><code>return Object.assign({}, state, {data: Object.assign({}, state.data, {value: null})})
  </code></pre>
  
  <p>Can I get some help ?</p>