An implementation of React Flux data flow