Perhaps you’ve heard of Vuex and you’re wondering what it is. What does it do? Why does it exist? How do I use it? If these questions are on your mind you’ve come to the right place! In this series of articles, we’ll take a look at Vuex, the official Vue.js store solution, as well […]
In the previous article in this series we discussed what a store is, why it’s useful, and when it’s a good time to implement one. With those principles in mind, we can now look into how to implement a store with Vuex.
An alternative option for creating a store for your Vue.js application is Pinia. Pinia is the new kid on the block when it comes to stores for Vue. It was started by Vue core team member Eduardo San Martin Morote with the first commit to the repo being made on Nov 18, 2019. Pinia boasts […]
Now that we’ve seen some library options for implementing a Vue.js store (Vuex and Pinia), I want to spend a little time talking about some home rolled solutions. While home rolled solutions can be more fragile (if done hastily), less tested, and less standardized, they also provide an opportunity for useful customizations and the opportunity […]
Throughout this series we’ve explored various store solutions both official and DIY. We’ll end the series by taking a look at a home rolled solution with Vue 3’s composition API.