You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by Hieu Pham (Web SRE / Platform Pillar), Gianluca Casati, Leo Dutra, 牛さん, Augustine, Russell J.B., ᴙɘɘᴙgYmɘᴙɘj, Manpreet Singh, Iman Mohamadi, Albert and 5 more
Reacted by Russell J.B., Alon Diamant, helb, Andrei Simionescu, Tom Marius, Antoine Poinsot, alxpsr, Adrian Martinez, Nicolas CARPi, Nicolas QUINQUENEL and 15 more
@ChaosD It seems like Reflux misses some important characteristics of the Flux architecture: Can you dispatch actions in a predefined order with Reflux? Make sure that all the actions are dispatched synchronously (the next action dispatching does not start before finishing dispatching of a previous one)? Can a single action creator / method dispatch more than one action at a time (a couple of different actions)?
Be warned, I most certainly cannot answer your questions in a satisfying way because I'am just getting started with react.
I like the simplicity because it seems to streamline the whole process a bit more (maybe too much for you) and makes it easier for me to get started with. What i got so far is, that its possible to order your "dispatching", quoting the readme here:
waitFor is replaced in favor to handle serial and parallel data flows:
Aggregate data stores (mentioned above) may listen to other stores in serial
Joins for joining listeners in parallel
I could not find anything about action creators dispatching multiple actions but since actions dispatch themselves, i imagine you could simply call multiple actions to get what you need. I'am not quite sure if I got you right here but i cannot imagine a situation where this might be required. Could you elaborate?
These articles seem to address some of your concerns and helped me a lot understanding reflux:
Have you reopened this issue for further discussion or are you already considering reflux? I'd love to hear your opinion about it because I'am also about to make this decision.
I just studied the flux docs again and it seems that you are right. if you want to stick to flux as close as possible, reflux might not be the best bet. Fluxxor is new to me, thanks for pointing me there. I will definitely check it out.
I played a bit with Fluxxor and it convinced me. It is really better if you do not want to be led astray from the Flux pattern.
What do you think about McFly?
I played a bit with Fluxxor and it convinced me. It is really better if
you do not want to be led astray from the Flux pattern.
Have you seen McFly? http://kenwheeler.github.io/mcfly/
—
Reply to this email directly or view it on GitHub #22 (comment)
.
changed the title [-]What Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/-][+]Which Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/+]on Nov 7, 2014
I personally settled for Fluxxor. I think it's the perfect blend between vanilla flux and reduced boilerplate and you can further reduce it with custom mixins. If the project ever dies, it would be easy to migrate. It's a non negligible advantage if you're in react for the long term.
I'm going to close this one as it's not a real issue or feature request. But feel free to continue the conversation on this thread. You're also welcome to participate in discussions on Gitter, Appear.in, or StackOverflow.
@JHabdas 100% agree. I'm really tired seeing so many new JS things these days. RxJS, NG2.0, ES7, JSPM, WebGL, fluxxxxxxxxZ etc, etc. Besides that, we have to be able to stay productive and GSD.
Activity
buxel commentedon Nov 3, 2014
This is closed but i still like reflux for its simplicity
koistya commentedon Nov 3, 2014
@ChaosD It seems like Reflux misses some important characteristics of the Flux architecture: Can you dispatch actions in a predefined order with Reflux? Make sure that all the actions are dispatched synchronously (the next action dispatching does not start before finishing dispatching of a previous one)? Can a single action creator / method dispatch more than one action at a time (a couple of different actions)?
buxel commentedon Nov 4, 2014
Be warned, I most certainly cannot answer your questions in a satisfying way because I'am just getting started with react.
I like the simplicity because it seems to streamline the whole process a bit more (maybe too much for you) and makes it easier for me to get started with. What i got so far is, that its possible to order your "dispatching", quoting the readme here:
I could not find anything about action creators dispatching multiple actions but since actions dispatch themselves, i imagine you could simply call multiple actions to get what you need. I'am not quite sure if I got you right here but i cannot imagine a situation where this might be required. Could you elaborate?
These articles seem to address some of your concerns and helped me a lot understanding reflux:
buxel commentedon Nov 5, 2014
Have you reopened this issue for further discussion or are you already considering reflux? I'd love to hear your opinion about it because I'am also about to make this decision.
buxel commentedon Nov 5, 2014
I just studied the flux docs again and it seems that you are right. if you want to stick to flux as close as possible, reflux might not be the best bet. Fluxxor is new to me, thanks for pointing me there. I will definitely check it out.
buxel commentedon Nov 7, 2014
I played a bit with Fluxxor and it convinced me. It is really better if you do not want to be led astray from the Flux pattern.
What do you think about McFly?
Maybe it is time to rename the issue... ;)
f commentedon Nov 7, 2014
Try https://github.com/deloreanjs/delorean which we build and it's too
simple.
7 Kas 2014 09:05 tarihinde "ChaosD" notifications@github.com yazdı:
buxel commentedon Nov 7, 2014
@f , in what way Delorean is different to the previously mentioned? How does it handle the concerns @koistya mentioned with reflux?
Btw, I really love how so many Back To The Future themed libs pop up so fast! :D
[-]Flux vs. Reflux[/-][+]What Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/+][-]What Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/-][+]Which Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/+]buxel commentedon Dec 2, 2014
A nice summary can be found here:
https://reactjsnews.com/the-state-of-flux/
patrick-fls commentedon Dec 16, 2014
I personally settled for Fluxxor. I think it's the perfect blend between vanilla flux and reduced boilerplate and you can further reduce it with custom mixins. If the project ever dies, it would be easy to migrate. It's a non negligible advantage if you're in react for the long term.
57 remaining items
koistya commentedon Feb 21, 2016
I'm going to close this one as it's not a real issue or feature request. But feel free to continue the conversation on this thread. You're also welcome to participate in discussions on Gitter, Appear.in, or StackOverflow.
rdewolff commentedon Mar 2, 2016
Redux rocks :)
rstormsf commentedon Aug 16, 2016
mobx? https://github.com/mobxjs/mobx
rstormsf commentedon Aug 16, 2016
@JHabdas 100% agree. I'm really tired seeing so many new JS things these days. RxJS, NG2.0, ES7, JSPM, WebGL, fluxxxxxxxxZ etc, etc. Besides that, we have to be able to stay productive and GSD.
xgqfrms-GitHub commentedon Jul 21, 2017
react's family!
react
& react-router-dom
& redux
& react-redux
& redux-thunk/redux-saga
valera-rozuvan commentedon Aug 28, 2017
Simpler redux alternative - dynamo.Js
http://www.medsquared.com.au/blog/simpler-redux-alternative-dynamojs/
langpavel commentedon Aug 31, 2017
Apollo and Redux or Relay modern or everything else in this order.
Why?
Because of future.
valera-rozuvan commentedon Nov 17, 2017
@langpavel Do you mean Apollo from this project https://github.com/apollographql/react-apollo ?
petermoresi commentedon Nov 17, 2017
I use this one.
https://www.npmjs.com/package/fluxury
langpavel commentedon Nov 19, 2017
@valera-rozuvan Yeah, this one: https://www.apollographql.com/docs/react/