title: How to change an object?
body: <p>How to change object using spreads?? </p>
  
  <pre><code>export const list = [
      {
          id: 0,
          tableName: 'example',
          tasks: [
              {
                  task_id: 0, 
                  task_short: 'lorem',
                  task_full: 'lorem ipsum lorem ipsum lorem ipsum',
                  time_created: null,
                  time_changed: null, 
              },
              {
                  task_id: 1, 
                  task_short: 'andsf',
                  task_full: 'lorem ipsum tes tes est',
                  time_created: null,
                  time_changed: null, 
              }
          ]
      }
  ]
  </code></pre>
  
  <p>in mine payload comes three properties</p>
  
  <pre><code>case 'CHANGE_TASK':
          ///////update, ownId, parentId
  </code></pre>
  
  <p>In <strong>update</strong> I have for example changed <strong>tasks[0]</strong></p>
  
  <p>And after it I cant solve how to change and return <strong>list</strong></p>