If you're stuck at understanding Flux architecture, this example might help you. It contains very basic flux data flow with http request and errors handling.
Flux technologies stack:
- for the sake of simplicity, this example uses just original Facebook's Flux dispatcher
- superagent for http requests
- eventemitter3 for emitting events from store to react component
Illustration of Flux unidirectional data flow:
npm install
npm start
Runs webpack-dev-server with HMR at http://localhost:3000