Quasar + Vuex
I’ve been deep diving into Vuex and built a Quasar sample app based on this article.
git clone https://github.com/beebase/learn-vuex-by-building-notes-app.git
The code in the article is outdated so I’ve used latest syntax for
Vue ^ 2.1.10
The solution demonstrates vuex basics with a todo list.
Vuex is very cool. Once you know the pattern, it’s basically re using it over and over again.
And it feels very organised. Here’s a sample of that pattern.
And it’s VERY cool how vue-dev-tools in Chrome keeps track of all the states that vuex goes through.
Yup. Vuex is pretty cool. It makes reasoning about your data a lot simpler.
Excellent post, Martin!
The first pic in particular is worth its weight in gold.
@Jon I was hoping so! It always surprises me why there’s never such a “mental picture” shown, when reading articles about vuex, redux etc…
Describing it in words makes it way too complicated.
@Martin Of course, I’ve just realised the weight of a .png is negligible
Nonetheless, I’ve printed it and pinned it on the wall above my monitor for easy reference as I’m about to dive into Vuex and AXIOS (god help me)