Rūto - Universal React Router
- Handles all incoming requests with react-router.
- Supports Hapi and Connect/Express servers.
- 302 (redirect) and 404 (not found) are delegated to the server.
- Includes optional helpers for connecting routes to a redux store.
See examples, including hapi/express server and state/redux.
Hapi plugin:
;;;; server;
Express middleware:
;;;; app;
Developing a pull request:
Start examples:
cd ~/rutonpm run startopen http://localhost:3000
Run tests:
npm test