Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Inferior? 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.



> 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


I 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..


>>Redux is a couple hundred lines of code.

That's not a refutation of the parent's statement.


This is my thought as well, adding that it feels like way less boilerplate due to the integration with the underlying framework


I 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.


Agreed. Give me MobX over Redux any day of the week.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: