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

The Vue.js 3 Masterclass

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

Updating a Post in Cloud Firestore

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

The Composition API Masterclass is coming soon!

In this lesson, we use a Vuex action to make updates to posts in Cloud Firestore and in the Vuex store's state. We also add an edited property to the post on update to keep track of when edits are made and by whom.