Disclaimer-mark
This is a user generated content for MyStory, a YourStory initiative to enable its community to contribute and have their voices heard. The views and writings here reflect that of the author and not of YourStory.
Disclaimer-mystory

Comparison of Redux and Facebook Flux in React Js

Comparison of Redux and Facebook Flux in React Js

Friday May 10, 2019,

1 min Read

Flux is not a library its just a recommended architecture for web applications. Redux is its implementation. It is possible to write apps in React without using Flux. Redux is very usefull for bigger projects rather than small projects. 

  • Flux store contains state and change logic,  but in Redux store and change logics are seperate.
  • Flux has multiple stores, but Redux has single store.
  • Flux has singleton dispatcher whereas Redux doesn't have a dispatcher.
  • Flux state is mutable and Redux state is immutable . Read more
    Share on
    close