Chapter 6. Understanding Vuex
This chapter covers
- What Vuex is
- What state means
- How to use Vuex in a project
Vuex is a large topic. Before you learn how to test Vuex in an application in chapter 7, you need to understand the fundamentals of it. In this chapter, you’ll learn what Vuex is and how it makes it easier to manage data in an app.
Note
If you’re already familiar with Vuex, you can skip ahead to the next chapter.
As an app grows in size, so does the data that the app uses. Making sure data stored in different components stays in sync is challenging and can lead to difficult-to-track bugs. Vuex is the solution to that problem.
Vuex is described as a state management library. That description isn’t useful if you don’t ...
Get Testing Vue.js Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.