What is namespaced module?

Namespaced getters and actions will receive localized getters , dispatch and commit . In other words, you can use the module assets without writing prefix in the same module. Toggling between namespaced or not does not affect the code inside the module.

Read more

What are Vuex getters?

Getters are a part of Vuex store and they are used to calculate data based on store state . … They cache data and smartly update themselves when the state changes; They can return functions, so that it’s possible to pass additional arguments to calculate data based on them.

Read more

Do you still need Vuex?

People often say “as your app grows, you’ll need Vuex ”. Actually, it depends on the way it grows. Your app may grow but your data flow stays nuclear (i.e parent-child and close siblings). Eventually, you can use to props and events to share this data without having to add Vuex and the boilerplate that comes wtihit.

Read more