If you ask two Vue.js developers “what’s the best way to use AJAX in an app?”, you’ll get three different opinions.
[…]
I like this architecture because it decouples your state and presentation logic nicely. If you’re using Vuex, this is the way to go. If you’re not using Vuex, this might be a good enough reason to.
[…]
Thanks to React AJAX Best Practices by Andrew H Farmer for inspiration.