Full-Stack Web Development with Vue.js and Node

(singke) #1
Introducing Vuex Chapter 8

Using Vuex in a small application such as this is overkill. The best use of Vuex is in large-
scale applications where data needs to be transferred and shared among several


components. This gives you an idea of how Vuex works and how to implement it.


Summary


In this chapter, we discussed what Vuex is—the core concepts of Vuex state,


getters, mutations, actions, and how to use them in an application. We discussed how to


structure our application to implement Vuex and the benefits it adds when the application
grows larger.


In the next chapter, we will cover how to write unit tests and integration for Vue.js and
Node.js application.

Free download pdf