Package Exports
- react-component-router
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-component-router) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-component-router 
Official ComponentRouter bindings for React.
Installation
NPM
npm install --save react react-component-routerDon't forget to manually install peer dependencies (react) if you use npm@3.
Bower:
bower install --save https://npmcdn.com/react-component-router/bower.zipor in bower.json
{
"dependencies": {
"react-component-router": "https://npmcdn.com/react-component-router/bower.zip"
}
}then include as
<script src="bower_components/react/react.js"></script>
<script src="bower_components/react-component-router/build/react-component-router.js"></script>1998 Script Tag:
<script src="https://npmcdn.com/react/dist/react.js"></script>
<script src="https://npmcdn.com/react-component-router/build/react-component-router.js"></script>
(Module exposed as `ReactComponentRouter`)Demo
// TODOCodepen demo
// TODOUsage
// TODOOptions
// TODODevelopment and testing
Currently is being developed and tested with the latest stable Node 5 on OSX and Windows.
Should be ok with Node 4, but not guaranteed.
To run example covering all ReactComponentRouter features, use npm start, which will compile src/example/Example.js
git clone git@github.com:nkbt/react-component-router.git
cd react-component-router
npm install
npm start
# then
open http://localhost:8080Tests
npm test
# to run tests in watch mode for development
npm run test:dev
# to generate test coverage (./reports/coverage)
npm run test:covLicense
MIT