Skip to content

Which Flux implementation should I use? #22

Closed

Description

@koistya

Relay by Facebook + examples

img img img img
npm

redux by Dan Abramov

img img img img
npm

flux by Facebook + examples

img img img img
npm

alt by Josh Perez + examples

img img img img
npm

reflux by Mikael Brassman + examples

img img img img
npm

flummox (deprecated) by Andrew Clark

img img img img
npm

fluxible by Yahoo

img img img img
npm

fluxxor by Brandon Tilley + examples

img img img img
npm

marty.js by James Hollingworth + examples

img img img img
npm

fynx by Alan Plum

img img img img
npm

McFly by Ken Wheeler + example

img img img img
npm

DeLorean.js by Fatih Kadir Akın + examples

img img img img
npm

fluxify by Javier Márquez

img img img img
npm

Comparison: https://github.com/voronianski/flux-comparison

Activity

  1. added
    question
    on Oct 2, 2014
  2. buxel commented on Nov 3, 2014

    @buxel

    This is closed but i still like reflux for its simplicity

  3. koistya commented on Nov 3, 2014

    @koistya
    MemberAuthor

    @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)?

  4. buxel commented on Nov 4, 2014

    @buxel

    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:

  5. reopened this on Nov 4, 2014
  6. buxel commented on Nov 5, 2014

    @buxel

    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.

  7. buxel commented on Nov 5, 2014

    @buxel

    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.

  8. buxel commented on Nov 7, 2014

    @buxel

    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... ;)

  9. f commented on Nov 7, 2014

    @f

    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ı:

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

  10. buxel commented on Nov 7, 2014

    @buxel

    @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

  11. changed the title [-]Flux vs. Reflux[/-] [+]What Flux implementation to use? Flux, Reflux, Fluxxor, McFly, DeLorean...[/+] on Nov 7, 2014
  12. 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
  13. buxel commented on Dec 2, 2014

    @buxel

    A nice summary can be found here:
    https://reactjsnews.com/the-state-of-flux/

  14. patrick-fls commented on Dec 16, 2014

    @patrick-fls

    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.

  15. 57 remaining items

  16. koistya commented on Feb 21, 2016

    @koistya
    MemberAuthor

    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.

  17. rdewolff commented on Mar 2, 2016

    @rdewolff

    Redux rocks :)

  18. rstormsf commented on Aug 16, 2016

    @rstormsf
  19. rstormsf commented on Aug 16, 2016

    @rstormsf

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

  20. xgqfrms-GitHub commented on Jul 21, 2017

    @xgqfrms-GitHub

    react's family!

    react
    & react-router-dom
    & redux
    & react-redux
    & redux-thunk/redux-saga

  21. valera-rozuvan commented on Aug 28, 2017

    @valera-rozuvan
  22. langpavel commented on Aug 31, 2017

    @langpavel
    Collaborator

    Apollo and Redux or Relay modern or everything else in this order.
    Why?
    Because of future.

  23. valera-rozuvan commented on Nov 17, 2017

    @valera-rozuvan
  24. petermoresi commented on Nov 17, 2017

    @petermoresi
  25. langpavel commented on Nov 19, 2017

    @langpavel
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions