Using #redux + #redux-observable with Vue.js
▻https://hackernoon.com/using-redux-redux-observable-with-vue-js-c10faca4b77b?source=rss----3a81
Photo by Filios Sazeides on UnsplashWe often claim caution when it comes to refactoring a tech stack.But there always comes a time when it needs to get done.When that happens, you want to pick the right tools:Unless you’ve got stupid amounts of VC money, you can’t afford a complete refactoring every quarter.For our own shopping cart v3.0 rewrite, we picked Vue.js and Redux.Weird mix you say? Not quite! In this post, I’ll show you how and why we strapped Vue.js on top of Redux.More specifically, I’ll cover:What are Redux & redux-observableWhy we chose Redux (over Vuex)How we leveraged redux-observableHow we plugged Vue.js to a reactive storeI’m thrilled to finally share some of our work on this newest version of Snipcart with you guys!Let’s start with a bit of context.What is that cart v3.0 (...)