5 ms·
> Just use VueX That's the problem with large-scale Vue apps. Vue is awesome until you need to use VueX, after which it just becomes an inferior version of Rea
by Kiro 8y ago
> Just use VueX
That's the problem with large-scale Vue apps. Vue is awesome until you need to use VueX, after which it just becomes an inferior version of React + Redux.
- pietrovismara 8y agoEver tried vuex-module-decorators? Add that to the recipe and using vuex with Typescript becomes really easy and a pleasure to write.
- chadbaud 8y agoCould you expound? I feel the exact opposite, and I'm genuinely curious why you feel that way.
- Tade0 8y agoInferior? How exactly? I found Redux to be highly over-engineered in contrast to Vuex which is a lot like MobX - easy to use, yet powerful.
- nerdwaller 8y agoThis is my thought as well, adding that it feels like way less boilerplate due to the integration with the underlying framework
- wp381640 8y ago> highly over-engineered Redux is a couple hundred lines of code. A good way to learn the pattern it to reimplement it yourself - which you could probably do in ~100LOC if you ignore the helper functions
- enraged_camel 8y ago>>Redux is a couple hundred lines of code. That's not a refutation of the parent's statement.
- Rapzid 8y agoI believe the OP meant in the sense of say, implementing a client for a network service in python using recursion with multiple re-entry points instead of a for loop..
- jmull3n 8y agoAgreed. Give me MobX over Redux any day of the week.
- Stoids 8y agoI like the idea that the 200 line event dispatching state atom is more over-engineered than a framework that works off wrapped "observable" objects and uses ES6 proxy magic (MobX). Do proxies work in IE11? Didn't think you could just polyfill them.
- wishinghand 8y agoI've always found Redux to be an overcomplicated mess, whereas Vuex is quite simple and has a nice, logical flow. For those who think it's still too complex, I've heard that Pathify https://davestewart.github.io/vuex-pathify https://davestewart.github.io/vuex-pathify is a great solution.
- Rapzid 8y agoI regret every line of Redux boilerplate I ever wrote before discovering MobX. MobX is now even more fantastic with the new proxy based implementation. Reading up on VueX.. Not really looking forward to having to use it over MobX.
- Illniyar 8y agoVueX is terrible. I'm using vue with MobX, and though it's not as seamless as with react, you still get most of the benefits. There's just nothing that comes close to it.
- Kiro 8y ago> MobX is now even more fantastic with the new proxy based implementation. What does this mean? I've used MobX in the past but curious what has changed with this.
- wishinghand 8y agoI'm wondering if it's this: https://davidwalsh.name/javascript-proxy https://davidwalsh.name/javascript-proxy