You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.
As I explained here i got an issue where data is added twice to the local array and once (as supposed to the remote firebase database). The issue can be reproduced with my issue demonstrator repo which is a trimmed down repo. I suspect the issue lies in the data binding but I'm unsure how to do it correctly.
The text was updated successfully, but these errors were encountered:
@Tim86 The repo is still too big... Please, boil it down to the strict minimal. You should be able to do it in a jsfiddle using this as a base: https://jsfiddle.net/posva/wtyop5jy/ make sure to replace vuefire with vuexfire
scharinger
changed the title
Data added wticy localy after vue router navigation where the same data references exists
Data added twice localy after vue router navigation where the same data references exists
Feb 18, 2017
Not sure if that was the problem, but I can share the issue i was having and how I solved it.
If you repeat "mutations: VuexFire.firebaseMutations," on each module, the state data will be repeated as many times as the number of modules.
I moved the mutations to the store index and all was good.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As I explained here i got an issue where data is added twice to the local array and once (as supposed to the remote firebase database). The issue can be reproduced with my issue demonstrator repo which is a trimmed down repo. I suspect the issue lies in the data binding but I'm unsure how to do it correctly.
The text was updated successfully, but these errors were encountered: