title: How delete item from redux state?
body: <p>i wonder how i can delete item with onClick from redux state. </p>
  
  <pre><code>let initialState = {
    items: [
        {
         name: 'A',
         age: 23
        },
        {
         name: 'B',
         age: 20
        },
        {
        name: 'C',
        age: 29
        }
       ]
      }
  </code></pre>
  
  <p>then i'm rendering my object with list in my component:</p>
  
  <pre><code>const listItems = this.props.MyState.items.map((item) =&gt;
    &lt;li key={item.name} onClick=event =&gt; this.props.deleteItem(event, item) &gt;{item.name}&lt;/li&gt;
  );
  </code></pre>
  
  <p>and then passing this item to reducer with action.payload</p>
  
  <p>but then i don't know how delete item from state. </p>
  
  <p>eg: <code>action.payload</code> is item which i get at <code>onClick</code> how figure out this here? </p>
  
  <pre><code>case DELETE_ITEM:
        return { ...state, ? };
  </code></pre>