11. Stopping echoes back to the form with hasPendingWrites

Опубликовано: 01 Декабрь 2024
на канале: Dedicated Managers
206
0

In this video I add a quick check to stop some extra unnecessary echoed writes back to the form that just sent an update to the Firestore.

I use the Firestore hasPendingWrites to check if an update to my form is coming from a local commit to the Firestore, or if its coming from outside my app (ie from the Firestore database)


This video is part of a playlist:
   • Real Time Database with Vue.js + Vuex...  

It is also part of a blog post on DedicatedManagers.com:
http://www.dedicatedmanagers.com/real...

The source code for this project is available publicly on the Dedicated Managers Github account:
https://github.com/DedicatedManagers/...