Managing Your Application’s State with Pinia
Building web applications is no simple task, not only because of the amount of knowledge required to write them but also because of the architectural complexity that a mature application can develop.
When we first started this book, we introduced simple topics such as the ability to replace text with string interpolation or hide an element with the v-if
directive. These features are at the core of the Vue.js framework and are needed to build an application with this framework.
As we progressed in the book, we started to introduce topics that are not always required at the very start of your project development – and in some cases not needed at all. In the previous chapter, we covered Vue Router, which was the first additional package to join the Vue.js core framework. We are going to continue the trend by introducing another core maintained package that is part of the Vue ecosystem: Pinia.
Pinia is the official state...