About Flux
-
Upload
young-moon -
Category
Documents
-
view
88 -
download
8
Transcript of About Flux
The MVC pattern
Controller: takes user input, manipulates the model and causes the view to update
View : represents the display of the model in the UI
Model : manages the behaviour and data of the application
When your application grows … ?
MVC Problems
We are all confused.
What about flux ?
Flux Architecture
Looks simple !
When your application grows … ?
Complex Flux Data Flow
…. ? confusing !!
The difference is that “ All actions go to the Dispatcher. ”
Flux keeps things predictable.the level of predictability in the Flux diagram is much higher.
cons
“ This shows what MVC is. maybe Facebook tried to
use just one controller to control several models.”
“ It’s just like that Facebook wanted to change the
name of MVC.”
Thank you.