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

Reusable Vuex Actions and Mutations

It is important to keep your code DRY, in the previous lesson we created actions to fetch threads, posts, and users but they essentially do the same.

In this lesson, we'll compose reusable Vuex actions and mutations that will fetch data from the Firebase Realtime Database.