title: Redux handling new items and ids
body: <p>I have my normalized store with lists and id mappings:</p>
  
  <pre><code>{
    "byId": {
      "images": {
        "10984": {"id": "10984", "src": "/img.png"}
      }
    },
    "myImages": [
      "10948"
    ]
  }
  </code></pre>
  
  <p>Now I want to create a new image, and add it to the list. The problem is that I don't have an id for it until I send it to the server. So I could generate a random id </p>
  
  <pre><code>      "tempid19048": {"id": "tempid19048", src: "/img.png"}
  </code></pre>
  
  
  
  <pre><code>  "myImages": [
      "10948",
      "tempid19048"
    ]
  </code></pre>
  
  <p>And then I save it to the server and get an id back I dispatch an action. I may have <code>tempid19048</code> used in multiple parts of the state. </p>
  
  <p>What's a sane way to update everything with the new id? Am I approaching this all wrong?</p>