An example of React Flux