Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming store state array 'queue' results in one dropped array member #1513

Closed
tleeaf opened this Issue Feb 20, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@tleeaf
Copy link

tleeaf commented Feb 20, 2019

I named one of my store state members 'queue', which resulted in unexpected behavior, namely that one member of the array would disappear when testing the app in-browser. This occurs independently of any other actions or mutations. I confirmed this by checking the result in vue devtools for chrome, in the vuex tab, and also by adding a v-for that produced simple tags dependent on the data in the 'queue' array.

export const store = new Vuex.Store({ state: { queue: [ {id: 1333333333}, //one of these members will be dropped {id: 1222222222}, {id: 1111111111} ], vocabulary: [], lessons: [], }, mutations, actions, getters })

@vue-bot

This comment has been minimized.

Copy link

vue-bot commented Feb 20, 2019

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

@vue-bot vue-bot closed this Feb 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.