Work in progress
Messing about with React and Redux. There's a bunch of useful info out there, but hopefully there are a few bits and pieces others might find helpful here too.
The app is based on Redux's counter example, and includes:
- ES2015+ syntax via Babel
- Hot reloading React classes via react-transform-hmr
- Live editing time travel via Redux DevTools
- Routing via redux-simple-router
- Unit testing via mocha, chai, and sinon
- Code coverage reporting via isparta
- Clone the repo
npm install
the dependencies- Run
npm start
- Open
http://localhost:3000/
in your browser.
Single run, specs only:
$ npm run test:spec
Run specs and watch:
$ npm run test:watch
Generate coverage reports:
$ npm run test:cov
- Redux examples
- A call for quality articles, examples, and resources
- Awesome Redux
- SoundRedux
- React Redux Universal Hot Example
- React Toolbox
- React Hot Boilerplate
- React Transform Boilerplate
- React Black Triangle
MIT