6

I'm new to flux/redux data flow, and I try to understand the main differences between them.

Can you please highlight the differences? Such as pros and cons for each one?

Thanks

Oley
  • 61
  • 11
Shai M.
  • 1,284
  • 4
  • 17
  • 30
  • 1
    possible duplicate of [Redux over fb flux motivation](http://stackoverflow.com/questions/32461229/redux-over-fb-flux-motivation) – VB_ Sep 26 '15 at 16:55

2 Answers2

8

The shortest, simplest answer is Flux has multiple stores and a central dispatcher to manage communication to those stores.

Redux only has one store and encourages using simple reducer functions to interact with various properties on the store.

This strategy makes it easy to reason about the overall state of your application (it's just one massive POJO) and allows for awesome devtools like time-travel debugging and hotswapping state.

There's a more detailed explanation (that does a far better job of explaining) in the official docs.

Robert Lujo
  • 15,383
  • 5
  • 56
  • 73
travisbloom
  • 336
  • 1
  • 7
3

For compare Flux and Redux similarities ans differences this is very summarized format this is done by daniel enter image description here

Niroshan Ranapathi
  • 3,007
  • 1
  • 25
  • 35