If I’ve got a basic Vue app working with an array of values, I may have multiple different methods that modify it. ![]() To me, the core benefit is providing a central interface to your data. No offense to their documentation, but I had a difficult time wrapping my head around exactly what this meant, from a practical sense.Īfter having using it in a few small projects now, I’m coming to appreciate what it provides. As I said in the previous post, Vuex describes itself as a “state management pattern + library” on their “What is Vuex” page. I’ll start off discussing the biggest change to the application, the addition of Vuex. With that out of the way, let’s get started! Implementing Vuex But hopefully you’ll see the improvements as a general “moving in the right direction” for the application. That was the plan, and like most plans, I wasn’t necessarily able to hit everything in this update (and I’ll explain why at the end). Using IndexedDB to store feed items for quicker access and offline support.(Well, I was already using Vuetify components, but I meant custom components for my application.) ![]()
0 Comments
Leave a Reply. |