Beginning Vuex

Last Updated: October 10, 2019

What is Vuex?

Vuex is a State management pattern that you can use to develop Vue.js based web applications

What is state in your web application?
Your state in web application includes stuff like your variables/properties, arrays, objects, etc. So there should be way to manage those things when you switch between views and Vuex will take care of all these things

With VueX you can achieve the following things
Instant data updates on components
Fast switching in between views
You can create loading indicator

You can use Vuex to store data in client side which was fetched from the server. That way you can switch very fast between views