title: How can my vuex mutation dispatch a new action?
body: <p>How can my vuex mutation dispatch a new action or how can my action get read access to the store?</p>
  
  <p>Basically I've got a action that calls an mutation:</p>
  
  <pre><code>updateSelectedItems: (context, payload) =&gt; {
    context.commit('updateSelectedItems', payload);
  },
  </code></pre>
  
  <p>And the mutation that updates the list. It also gets any new items. I need to do something with these new items:</p>
  
  <pre><code>updateSelectedItems: (state, payload) =&gt; {
    var newItems = _.differenceWith(payload, state.selectedItems, function (a, b) {
      return a.name === b.name;
    });
    state.selectedItems = _.cloneDeep(payload);
  
    _.each(newItems, (item) =&gt; {
      // How do I do this??
      context.dispatch('getItemDetail', item.name)
    });
  },
  </code></pre>