title: how to get data with mapActions
body: <p>I can't seem to get the data I need using mapActions from my store. I am doing an Axios GET (I turn that data to an array), and pass that data to my home.vue, and render a list of notes. 
  Now, it works fine if I use mapGetters, but to my understanding, I can access data directly from mapActions, I've seen people do it, but so far I can't. Or can I? </p>
  
  <p>Home.vue:</p>
  
  <pre><code>  export default {
    methods:{
      // Not Working
      ...mapActions(
          ['getNotes']
      ),
      created(){
      // Not working
      this.getNotes()
      console.log(this.getNotes())//returns pending Promise
    }
  }
  </code></pre>
  
  <p>my store.js</p>
  
  <pre><code>export default new Vuex.Store({
    state: {
      ...other stuff in state...
      // this is getting the notes from firebase
      notes: {}
    },
    getters: {
      ...other getters...
      notes: state =&gt; state.notes
    },
    mutations: {
      ...other mutations...
      SET_NOTES (state, notes) {
        state.notes = notes
      }
    },
    actions: {
      getNotes ({ commit }) {
        axios.get('/data.json')
          .then(res =&gt; {
            const incoming = res.data
            const notes = [] // &lt;-- this is commited ok without explicit return
            // converting object to array
            // extracting firebase ids for manipulating existing notes
            for (let key in incoming) {
              const note = incoming[key]
              note.id = key
              notes.push(note)
            }
            console.log(notes)
            commit('SET_NOTES', notes)
            // return notes &lt;-- tried that, no effect!
          })
          .catch((error) =&gt; {
            console.log('Error: ', error)
          })
      },
      ...commiting 2 other things needed for my app
    }
    ...other actions...
  })
  </code></pre>