Mastering Vuex
.MP4, AVC, 1920x1080, 30 fps | English, AAC, 2 Ch | 1h 27m | 731 MB
Instructors: Adam Jahr, Ben Hong
.MP4, AVC, 1920x1080, 30 fps | English, AAC, 2 Ch | 1h 27m | 731 MB
Instructors: Adam Jahr, Ben Hong
Managing state in an application full of components can be difficult. Facebook discovered this the hard way and created the Flux pattern, which is what Vuex is based upon. Vuex is Vue’s own state management pattern and library. In this lesson, we’ll look at why an application might need Vuex, and how it can enhance your app.
When we talk about state, we mean the data that your components depend on and render. Things like blog posts, to-do items, and so on. Without Vuex, as your app grows, each Vue component might have its own version of state.