react-component-router
Official ComponentRouter bindings for React.
Installation
NPM
npm install --save react redux history qs component-router react-component-router
Don't forget to manually install peer dependencies (react
, redux
, history
, qs
, component-router
) if you use npm@3.
1998 Script Tag:
(Module exposed as `ReactComponentRouter`)
Demo
// TODO
Codepen demo
// TODO
Usage
Options
// TODO
Development and testing
Currently is being developed and tested with the latest stable Node 8
on OSX
.
To run example covering all ReactComponentRouter
features, use yarn start
, which will compile example/index.js
git clone git@github.com:in-flux/react-component-router.gitcd react-component-routeryarn installyarn start # then open http://localhost:8080
Tests
# to run ESLint check yarn lint # to run tests yarn test # to run end-to-end tests # first, run `selenium/standalone-firefox:3.4.0` docker image docker run -p 4444:4444 selenium/standalone-firefox:3.4.0# then run test yarn e2e
License
MIT