Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial
Learn Vue.js with Vue School #1 SOURCE OF VUE.JS KNOWLEDGE

The Vue.js Master Class

Get access to this course, 10 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

Vuex Actions that Fetches Multiple Items from Firebase

When we're working with a data structure that has multiple resources grouped under one, it's very handy to have a Vuex action that can fetch multiple resources with one call.

In this lesson, we'll create that Vuex action, that given an array of post id's will fetch and return an array of the post objects from the Firebase Realtime Database