Abstract
Every application has some data to manage in the form of values to keep track of related to the user’s choices or the information that is being displayed. To further complicate things, we could be using the same data across multiple instances of Vue. Handling this is called state management. We will take a look at three ways to manage state with Vue: a simple data object, a do-it-yourself data store, and a state management library called Vuex.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Brett Nelson
About this chapter
Cite this chapter
Nelson, B. (2018). State Management. In: Getting to Know Vue.js. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3781-6_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3781-6_7
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3780-9
Online ISBN: 978-1-4842-3781-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books