react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux
| { | |
| "stage": 2, | |
| "loose": "all" | |
| } |
| "devDependencies": { | |
| "babel-plugin-syntax-class-properties": "^6.0.14", | |
| "babel-preset-react": "^6.1.2", | |
| "eslint": "^1.9.0", | |
| "eslint-loader": "^1.1.1", | |
| "babel-core": "^6.1.2", | |
| "babel-loader": "^6.0.1", | |
| "babel-preset-es2015": "^6.1.2", | |
| }, |
react + redux + RR
It uses https://gist.github.com/iNikNik/3c1b870f63dc0de67c38 for stores and actions.
1) create redux
const redux = createRedux(state);2) get requireAccess func => bindCheckAuth to redux