VueX

VueX (https://vuex.vuejs.org) is the official state management library that's offered by Vue.js. VueX is mainly useful for medium- and large-sized applications. For small ones, the signal-to-noise ratio is too low to really justify it.

To understand what VueX is about and how it works, start by taking a look at the official schema of VueX:

Does it look familiar to you now that we've learned about Redux? Indeed it does! Vuex is actually heavily inspired by Flux and Redux (among others).

The major benefit of VueX, compared to Redux, is the fact that it is made specifically for Vue.js and thus integrates perfectly with it. In addition, VueX ...

Get Learn TypeScript 3 by Building Web Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.