[Vuejs]-Vuex/quasar – mutate state from firebase 9 on boot

0👍

as a work around solution; try saving data from firebase into localstorage then set vuex state after localstorage is set

0👍

firebase collection has event methods to allow exactly this

Look at this as starting point: https://firebase.google.com/docs/database/web/read-and-write#read_data_once_with_an_observer

Inside event handlers you have the ‘realtime’ changes/added/removed data

So you can change store

Leave a comment