rintoj / statex

StateX is a state management library for modern web applications with unidirectional data flow and immutable uni-state (just like redux)
MIT License
68 stars 18 forks source link

Why use statex over ng2-redux? #12

Open Nxt3 opened 6 years ago

Nxt3 commented 6 years ago

What advantages does your lib have over something like ng2-redux?

https://github.com/angular-redux/store

rintoj commented 6 years ago

Hi @Nxt3,

I wrote an article about what is my thought process behind creating this library. Please read https://medium.com/@rintoj/its-2017-time-to-give-redux-another-thought-fa3bc4373df9. Many of the points are not applicable to ng2-redux, but this article should give you some idea.

Nxt3 commented 6 years ago

@rintoj I've already seen that article. I wanted to know how statex compares directly to something like ng2-redux.

rintoj commented 6 years ago

@Nxt3, ng2-redux looks pretty much similar to StateX. My idea of this library is to use decorators to trim down the glue code and make the same library available for both react (react native) and angular.