Alex Moldovan
Full Stack Developer @ Fortech
medium.com/@alexnm
@alexnmoldovan
Model
View
Controller
UI State
Application State
Business Logic
Event Handling
COMPONENTS
FLUX
Action
Dispatcher
Store
View
Event
Emitter
State
Presentation
View
Action
Store
Reducer
M1
M2
M3
dispatch( action )
( store ) => ( next ) => ( action ) => ...
prev state
prev state
prev state
next( action )
next( action )
dispatch*
next state
next state
next state
Browser
Server
API
request
fetch
match route
create store
render dom to string
serialize state
HTML
data
json state
deserialize state
initialize react
(client.js)
(server.js)
check prerequisites
create store
git checkout initial
git checkout intermediate