layout | title | date | categories |
---|---|---|---|
post |
More simple Facebook Flux |
2016-02-01 10:00 |
javascript |
You probably are seeing the exponential growth of Facebook Flux pattern and its derivations. The main idea of Flux pattern is the one way data flow on the app and the clearly separated concerns layers.
Flux pattern defines three important layers on your app. The presentation layer that presents the app state, the store layer that hold the state itself and make the states mutations and the action creator layer that dispatches commands that are intercepted by stores through the fourth Flux's piece, the dispatcher. The diagram above show the flow: