Skip to content

jvm-redux positioning vs rxjava #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
beyondeye opened this issue Oct 25, 2016 · 5 comments
Open

jvm-redux positioning vs rxjava #4

beyondeye opened this issue Oct 25, 2016 · 5 comments

Comments

@beyondeye
Copy link

Something that need to be discussed is positioning of jvm-redux vs rxjava. Even for the Javascript version this is an issue (see for example here the end section "Why Redux? Why not RxJS 5?". This is even more of an issue on Android.
Basically the question to answer is: what is the added value of redux vs rx, for java programmers?

@glung
Copy link
Contributor

glung commented Oct 25, 2016

Thank you @beyondeye for bringing that up, wether it is yes or no, I agree we should have a clear answer to that question.

For me the answer is simple : Rx is not required, hence should not be added to keep the API minimal. An extendable API to add reactive streams is nice to have. - I guess this is aligned the article your linked.

In other terms, I think the API should be implementable by other stores with minimal frictions. Some stores don't use RX.

Note : this project is not Android specific.

@beyondeye
Copy link
Author

My question is not about the api at all. It is about why people should use redux instead of rxJava. They are both based on reactive functional programming ideas. But rxJava is much more powerful. The question is why the heck people should bother learning redux if they can do all what they want with rxJava,which is already extremely popular on the Jvm

@beyondeye
Copy link
Author

If you want you can rename the issue "how to market jvm-redux to developers"

@glung
Copy link
Contributor

glung commented Oct 25, 2016

I understand. I guess it the very difference between https://cycle.js.org/ and redux.
If you ask me, I think both are valid unidirectional data flow architecture.

@beyondeye
Copy link
Author

Here a couple of links for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants