Reading material:
- http://fluxxor.com/what-is-flux.html
- http://www.code-experience.com/async-requests-with-react-js-and-flux-revisited/
- https://medium.com/@dan_abramov/the-evolution-of-flux-frameworks-6c16ad26bb31
- https://github.com/gaearon/redux#philosophy--design-goals
Then, read this for a specific understanding of Redux and its terminology
Uses just webpack to bundle and run.
npm run dev
: Run development environment, complete with hot module reloadingnpm run build
: Build a production copy and exit.npm start
: Start the production server (required build first)
My understanding of React and Redux (and Flux) as very basic at the moment, so this code probably doesnt represent all best practices.
I also think there's opportunities for the folder structure to be reconsidered.