My best React + redux project starter.
- webpack is as simple as possible
- ReactJS is written with optimization tricks(stateless, pure render...).
- pure front-end= server independant (use whatever you want as server: NodeJS, Rails, .NET...)
Concept behind: same as react-bootstrap-webpack-starter but added Redux and amazing and helpful redux-devtools.
ReactJS v15.4.x required react-hot-loader to be v3+ (previous react-hot-loader was v1.x and v1.3.1 came too late). So This starter had to include breaking changes to follow all of that.
Front:
- React JS (15.x - github 🔗)
- Redux (as you application grows managing state will be a serious concern, save pain with Redux)
- React-Redux (Redux is not specific to ReactJS, you could easily use it with Angular2 for instance)
- Redux-devtools (want to time travel your application State?)
- React-Router-Redux (previously named react-simple-router)
- react-router (2.x- github 🔗)
- Bootstrap (3.x - github 🔗)
- React-Bootstrap (github 🔗)
- font-awesome (github 🔗)
- animate.css (github 🔗)
- classnames (github 🔗)
- react-motion (github 🔗)
- Webpack (github 🔗)
- babel 6+ (github 🔗)
- react-addons-shallow-compare (pure render mixin equivalent for ES6)
- whatwg-fetch (Why: because it is a fetch Web APIpolyfill)
Tool chain:
- babel 6+
- eslint
- hot reload
- loaders
- js/- jsx
- sass
- css
- json
- images formats
- svg and fonts formats
 
- autoprefixer (css and sass)
tests:
- Mocha
- Chai (+ dirty-chai)
- enzyme
- Sinon
- nyc
npm installGeneral case:
npm run devWindows - particular - case:
npm run dev-win- ctrl+h: to toggle devtools panel
- ctrl+q: to change devtools panel position (by default: on the right)
General case:
npm run startWindows - particular - case:
npm run start-win- ctrl+h: to toggle devtools panel
- ctrl+q: to change devtools panel position (by default: on the right)
General case:
npm run testWindows - particular - case:
npm run test-winGeneral case:
npm run prodWindows - particular - case:
npm run prod-winThe MIT License (MIT)
Copyright (c) 2016 Erwan DATIN
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.