What are the differences between Flux and Redux?

Posted by Prem Tiwari | Updated on

What are the differences between Flux and Redux?

Below are the major differences between Flux and Redux

FluxRedux
State is mutableState is immutable
The Store contains both state and change logicThe Store and change logic are separate
There are multiple stores existThere is only one store exist
All the stores are disconnected and flatSingle store with hierarchical reducers
It has a singleton dispatcherThere is no concept of dispatcher
React components subscribe to the storeContainer components uses connect function

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers