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 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.