Component life cycle: https://facebook.github.io/react/docs/component-specs.html
render
getInitialState
componentWillMount *
componentDidMount
componentWillReceiveProps
shouldComponentUpdate
componentWillUpdate *
componentDidUpdate *
componentWillUnmount
(*) Not commonly used by me
props: read only in the component, can be modified from the outside by passing them to the component
state: controlled from the component itself
Synthetic events
dispatch-action -> store changes -> view changes
view dispatch-action -> store changes -> view changes
Redux http://redux.js.org/
Single (source of truth)
Read only (update using actions, through reducers)
actions
reducers
middlewares
react integration
async problem