indoqa-react-app
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "indoqa-react-app", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "./dist/IndoqaReactApp.min.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -25,9 +25,3 @@ # Indoqa React Application | ||
Application specific configuration of redux and router is passed as config objects. | ||
### routerConfig | ||
```javascript | ||
const routerConfig = { | ||
routes: myRoutes, // a single (optionally nested Route) or an array of Routes | ||
history: browserHistory|hashHistory // optional, defaults to browserHistory | ||
} | ||
``` | ||
### reduxConfig | ||
@@ -42,3 +36,11 @@ | ||
To get hot-reloading working, the root reducer is not passed directly. Specify the disk location of the root reducer file in *reducerFilePath*. The *getReducers()* factory function actually interpretes this file is accepted instead. | ||
To get hot-reloading working, the root reducer is not passed directly. Specify the disk location of the root reducer file in *reducerFilePath*. The *getReducers()* factory function should actually interprete this file and return the root reducer object. | ||
### routerConfig | ||
```javascript | ||
const routerConfig = { | ||
routes: myRoutes, // a single (optionally nested Route) or an array of Routes | ||
history: browserHistory|hashHistory // optional, defaults to browserHistory | ||
} | ||
``` | ||
@@ -45,0 +47,0 @@ ## Example |
47731
92