How do you add/remove to a redux store generated with normalizr?
<p>Looking the examples from the <a href="https://github.com/gaearon/normalizr">README</a>:</p>

<p>Given the "bad" structure:</p>

<pre><code>[{
  id: 1,
  title: 'Some Article',
  author: {
    id: 1,
    name: 'Dan'
  }
}, {
  id: 2,
  title: 'Other Article',
  author: {
    id: 1,
    name: 'Dan'
  }
}]
</code></pre>

<p>It's extremely easy to add a new object. All I have to do is something like </p>

<pre><code>return {
  ...state,
  myNewObject
}
</code></pre>

<p>In the reducer.</p>

<p>Now given the structure of the "good" tree, I have no idea how I should approach it.</p>

<pre><code>{
  result: [1, 2],
  entities: {
    articles: {
      1: {
        id: 1,
        title: 'Some Article',
        author: 1
      },
      2: {
        id: 2,
        title: 'Other Article',
        author: 1
      }
    },
    users: {
      1: {
        id: 1,
        name: 'Dan'
      }
    }
  }
}
</code></pre>

<p>Every approach I've thought of requires some complex object manipulation, which makes me feel like I'm not on the right track because normalizr is supposed to be making my life easier.</p>

<p>I can't find any examples online of someone working with the normalizr tree in this way. <a href="https://github.com/rackt/redux/tree/master/examples/real-world">The official example</a> does no adding and removing so it was no help either.</p>

<p>Could someone let me know how to add/remove from a normalizr tree the right way?</p>