Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js Master Class

Vuex Actions that Fetches Multiple Items from Firebase thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Vuex Actions that Fetches Multiple Items from Firebase

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is out!

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