├── .gitignore
├── .npmignore
├── examples
├── basic
│ ├── public
│ │ ├── .gitignore
│ │ └── index.html
│ ├── .babelrc
│ ├── containers
│ │ ├── index.js
│ │ ├── a.jsx
│ │ ├── b.jsx
│ │ ├── bDeep.jsx
│ │ ├── c.jsx
│ │ └── home.jsx
│ ├── routes.js
│ ├── store.js
│ ├── webpack.config.js
│ ├── app.jsx
│ ├── index.js
│ ├── viewSelector.jsx
│ ├── components
│ │ └── links.jsx
│ └── package.json
├── authentication
│ ├── .gitignore
│ ├── public
│ │ ├── .gitignore
│ │ └── index.html
│ ├── store.js
│ ├── .babelrc
│ ├── containers
│ │ ├── index.js
│ │ ├── me.jsx
│ │ ├── user.jsx
│ │ ├── users.jsx
│ │ ├── home.jsx
│ │ └── login.jsx
│ ├── routes.js
│ ├── reducers
│ │ ├── index.js
│ │ └── user.js
│ ├── actions
│ │ └── login.js
│ ├── webpack.config.js
│ ├── app.jsx
│ ├── index.js
│ ├── components
│ │ └── links.jsx
│ ├── package.json
│ └── viewSelector.jsx
└── minimalist
│ ├── public
│ ├── .gitignore
│ └── index.html
│ ├── .babelrc
│ ├── webpack.config.js
│ ├── package.json
│ └── index.js
├── .eslintignore
├── .babelrc
├── test
├── .eslintrc
└── index.js
├── images
└── reroute-vs-redux-router.png
├── .travis.yml
├── .eslintrc
├── package.json
├── index.jsx
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | images
2 | examples
3 | test
4 |
--------------------------------------------------------------------------------
/examples/basic/public/.gitignore:
--------------------------------------------------------------------------------
1 | bundle.js
2 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | **/node_modules/*
2 | **/public/*
3 |
--------------------------------------------------------------------------------
/examples/authentication/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/examples/minimalist/public/.gitignore:
--------------------------------------------------------------------------------
1 | bundle.js
2 |
--------------------------------------------------------------------------------
/examples/authentication/public/.gitignore:
--------------------------------------------------------------------------------
1 | bundle.js
2 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["stage-0", "es2015", "react"]
3 | }
4 |
--------------------------------------------------------------------------------
/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "mocha": true
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/images/reroute-vs-redux-router.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ArnaudRinquin/redux-reroute/HEAD/images/reroute-vs-redux-router.png
--------------------------------------------------------------------------------
/examples/authentication/store.js:
--------------------------------------------------------------------------------
1 | import { createStore } from 'redux';
2 | import { rootReducer } from './reducers';
3 |
4 | export default createStore(rootReducer);
5 |
--------------------------------------------------------------------------------
/examples/basic/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "production": {
4 | "stage": 0
5 | },
6 | "development": {
7 | "stage": 0
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/examples/basic/containers/index.js:
--------------------------------------------------------------------------------
1 | export Home from './home';
2 |
3 | export A from './a';
4 |
5 | export B from './b';
6 | export BDeep from './bDeep';
7 | export C from './c';
8 |
--------------------------------------------------------------------------------
/examples/basic/routes.js:
--------------------------------------------------------------------------------
1 | export const home = `/`;
2 |
3 | export const a = `/a`;
4 | export const b = `/b`;
5 | export const bDeep = `/b/deep`;
6 | export const c = `/c/:myUrlParam`;
7 |
--------------------------------------------------------------------------------
/examples/minimalist/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "production": {
4 | "stage": 0
5 | },
6 | "development": {
7 | "stage": 0
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/examples/authentication/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "production": {
4 | "stage": 0
5 | },
6 | "development": {
7 | "stage": 0
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/examples/authentication/containers/index.js:
--------------------------------------------------------------------------------
1 | export Home from './home';
2 |
3 | export Login from './login';
4 |
5 | export Users from './users';
6 | export Me from './me';
7 | export User from './user';
8 |
--------------------------------------------------------------------------------
/examples/authentication/routes.js:
--------------------------------------------------------------------------------
1 | export const home = `/`;
2 |
3 | export const users = `/users`;
4 | export const user = `${users}/:userId`;
5 | export const me = `${users}/me`;
6 |
7 | export const login = `/login`;
8 |
--------------------------------------------------------------------------------
/examples/basic/containers/a.jsx:
--------------------------------------------------------------------------------
1 | import React from 'react'; // eslint-disable-line no-unused-vars
2 |
3 | export default () => {
4 | return (
5 | Page A
7 | Page B
7 | Page B / DEEP
7 | The -Me- page
7 |