Complete Vue.js 2 Web Development_ Practical guide to building end-to-end web development solutions with Vue.js 2

(singke) #1
State Management with Vuex Chapter 21

Summary


In this chapter, we took advantage of the Vuex library for consistent state management


within Vue. We defined what state is as well as component state and application-level state.


We learned how to appropriately split our actions, getters, mutations, and store between


different files for scalability as well as how to call these items within our components.


We also looked at using the Vue devtools with Vuex to step through mutations as they


happened within our application. This gives us the ability to better debug/reason about the


decisions we make when developing applications.

Free download pdf