Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the differences of vuex store and plain global object?
Home
VueJS
What are the differences of vuex store and plain global object?
0
votes
asked
Sep 9, 2023
in
VueJS
by
DavidAnderson
What are the differences of vuex store and plain global object?
vuejs-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 9, 2023
by
DavidAnderson
Below are the two major differences between vuex store and plain global object,
Vuex stores are reactive:
If the store's state changes then vue components will reactively and efficiently get updated
Cannot directly mutate the store's state:
The store's state is changed by explicitly committing mutations to ensure that every state change leaves a track-able record for tooling purpose.
Related questions
0
votes
Q: How do you sync current route in vuex store?
asked
Sep 14, 2023
in
VueJS
by
AdilsonLima
vuejs-interview-questions-answers
0
votes
Q: What is vuex store?
asked
Sep 9, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: What is the purpose of hotUpdate API of vuex store?
asked
Sep 9, 2023
in
VueJS
by
AdilsonLima
vuejs-interview-questions-answers
0
votes
Q: What are the principles enforced by vuex?
asked
Sep 10, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: What are modules in vuex?
asked
Sep 10, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: What are the caveats with vuex mutations?
asked
Sep 10, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: What are vuex getters?
asked
Sep 9, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: What are the principles for vuex application structure?
asked
Sep 9, 2023
in
VueJS
by
AdilsonLima
vuejs-interview-questions-answers
0
votes
Q: What is the default namespace behavior in vuex?
asked
Sep 10, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
0
votes
Q: Do you need to replace entire local state with vuex?
asked
Sep 9, 2023
in
VueJS
by
DavidAnderson
vuejs-interview-questions-answers
...