Vuex is a state management pattern and library. Wait, what? Let's put all of the technical lingo aside for this one—if you want to read the official technical explanation, you can do so on the official Vuex website, What is Vuex?, at https://vuex.vuejs.org/.
In this chapter, you are going to learn how to set up your project using the global state management pattern and library, Vuex. Vuex will allow you to extract local state from your components into a, well, global all-knowing state. If you're not familiar with this type of pattern, such as React's Redux, don't worry! Keep reading—we're going to take baby steps.
We're going to approach it on a what-does-that-mean-for-me level. As you probably know, the way that components in Vue communicate is through props from the parent to the...