Vue.js 3 Options API Masterclass
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Fetching Data from Cloud Firestore with Vuex Actions

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

The Composition API Masterclass is coming soon!

In this lesson, we're going to put the calls to the Cloud Firestore and the corresponding mutation commits in Vuex actions as is best practice. Then we'll clean up our code in the created at lifecycle hook in the Thread Show page with some calls to a few simple Vuex actions.